Online Service Providing System and Application Program

ABSTRACT

When a user attempts to execute a procedure for transfer or the like from an app, user authentication is first required by a PIN code or the like. When the user authentication is successful, function limitation of an IC chip is released and a mode in which a function provided by the IC chip can be used is set. The app encrypts a procedure message describing procedure content with a private key using the function of the IC chip and creates electronic signature. The electronic signature and the procedure message are transmitted to a server of an online service via an intermediate server. The server executes a procedure of transfer or the like in accordance with the content of the procedure message.

TECHNICAL FIELD

The present invention relates to a technology for improving security when an online service is used from a portable device.

BACKGROUND ART

As the Internet has become widespread, various types of online services have been introduced and are being used by many people. On the other hand, since cyber security problems are increasing day by day, security measures are required to use online services safely and securely.

For example, in recent years, damage caused due to cyberattacks called MITM (Man-In-The-Middle) attacks has increased rapidly in online banking systems. An MITM attack is an attack scheme of intercepting communication (altering communication content) between an online backing user and a financial institution using a malware or a fake site and executing an unlawful remittance process that neither the user nor the financial institution can be aware of. A MITB (Man-In-The-Browser) is also a kind of MITM. Remittance processes using ATM networks have been executed since long ago. However, since dedicated lines were used in the past, the risk of cyberattacks was considerably low. On the other hand, online services in which open networks such as the Internet are used are exposed to various threats such as MITM attacks.

In current online banking services, a method of using a one-time password issuer has been widely used as a security measure. This is a method of distributing a one-time password issuer to a service user in advance and executing authentication using a one-time password created and displayed by the one-time password issuer, for example, when the service user logs in to a service or executes a remittance process (for example, see PTL 1). However, this method is not effective in defending against an MITM attack. This is because, in an MITB attack which is a kind of MITM attack, a user is caused to input authentication information such as a login ID or a one-time password on malware or fake site impersonation is executed for the user by using the authentication information without change.

Accordingly, many financial institutions that take measures called “transaction authentication” as measures against MITM attacks have increased. Transaction authentication is realized by combining encryption of a transaction (electronic signature) between a user and a server and confirmation of transaction content in which a section of a separate route from a browser is used. In the confirmation of the transaction content, a dedicated device called a token is used in many cases (for see PTL 2).

CITATION LIST Patent Literature

-   [PTL 1] Japanese Patent Application Publication No. 2016-071538 -   [PTL 2] Japanese Patent Application Publication No. 2012-048728

SUMMARY OF INVENTION Technical Problem

The transaction authentication is a measure that is effective in defending against MITM attacks since an electronic signature is executed in a transaction between a user and a server. However, a method of using a hardware token which is currently mainstream has several problems. One problem is that convenience for a user is low. When an online service is assumed to be used with a portable device (a mobile device) such as a smartphone or a tablet terminal, a user always has to bring a token before going out, which is troublesome. Further, since a token differs for each service, the number of carried tokens to be used increases as the number of services increases, and thus it lacks practicality. Further, in consideration of risks of theft and loss, many people may feel reluctant to carry tokens. The second problem is cost burdened on a service provider. The service provider is required to distribute and manage tokens for all the users of an online service, and thus the cost is not negligible.

In response to revision of the banking act (implemented in June 2018), financial institutions have promoted movements to open application programming interfaces (APIs) to agents for electronic payment or the like that act for financial institutions by executing account management, electronic remittance, and the like. Accordingly, in the future, it will be necessary to guarantee security between not only two parties of financial institutions and users but also three parties of financial institutions (online service providers), agents of electronic payment or the like (intermediate service providers), and users.

The present invention has been devised in view of the foregoing circumstances and an objective of the present invention is to provide a novel security technology capable of realizing secure service use without impairing mobile convenience. Another objective of the present invention is to provide a novel security technology capable of guaranteeing advanced security between three parties of an online service provider, an intermediate service provider, and a user.

Solution to Problem

The present invention in its first aspect provides

-   -   an online service providing system that provides a mechanism         capable of allowing a portable device to safely use an online         service provided by a service provider via an intermediate         service provided by another party different from the service         provider, the online service providing system comprising:     -   a service providing server configured to provide a registered         user with the online service through the Internet;     -   an intermediate server configured to provide the user with the         intermediate service through the Internet;     -   an IC chip provided in a user device which is the portable         device possessed by the user; and     -   an application program that is executed by a body processor         included in the user device and causes the user device to         function as a terminal for utilizing the intermediate service,     -   wherein the IC chip includes;         -   a memory that non-transitorily stores at least personal             information used for user authentication to confirm validity             of a party using the user device, a private key of the user,             a public key of the user paired with the private key, and an             electronic certificate of the user including the public key,             and         -   a processor that has at least an authentication function of             executing the user authentication by collating information             given from the application program with the personal             information and an electronic signature function of             executing an electronic signature on data given from the             application program using the private key;     -   wherein the application program causes the user device to         function as;         -   a user authentication unit configured to execute the user             authentication using the authentication function of the IC             chip based on information acquired from the party using the             user device, and         -   a transmission unit configured to create the electronic             signature using the electronic signature function of the IC             chip in a case where the party using the user device is             confirmed to be valid through the user authentication, and             transmit a login request including the created electronic             signature to the intermediate server through the Internet;     -   wherein the intermediate server includes         -   a user information storage that stores the electronic             certificate of the user as information regarding the user,             and         -   a control unit configured to check validity of the login             request by verifying the electronic signature included in             the login request using the electronic certificate of the             user in a case where the login request is received from the             user device, and permit the user device to use the             intermediate service and transmits an access request to the             service providing server in a case where the login request             is confirmed to be valid; and     -   wherein the service providing server includes an access control         unit configured to check the validity of the access request the         access request is received from the intermediate server, and         permit the intermediate server to use the online service in a         case where the access request is confirmed to be valid.

The present invention in its second aspect provides

-   -   an application program that is executed by a body processor         included in a user device which is a portable device possessed         by a user and causes the user device to function as a terminal         for utilizing an online service provided through the Internet by         a service providing server via an intermediate service provided         by an intermediate server different from the service providing         server,     -   wherein the user device is provided with an IC chip including         -   a memory that non-transitorily stores at least personal             information used for user authentication to confirm validity             of a party using the user device, a private key of the user,             a public key of the user paired with the private key, and an             electronic certificate of the user including the public key,             and         -   a processor that has at least an authentication function of             executing the user authentication by comparing information             given from the application program with the personal             information and an electronic signature function of             executing an electronic signature on data given from the             application program using the private key,     -   the application program causes the user device to function as:         -   a user authentication unit configured to execute the user             authentication using the authentication function of the IC             chip based on information acquired from the party using the             user device, and         -   a transmission unit configured to create the electronic             signature using the electronic signature function of the IC             chip in a case where the party using the user device is             confirmed to be valid through the user authentication, and             transmit a login request including the created electronic             signature to the intermediate server through the Internet.

The present invention can be ascertained as the service providing server, the intermediate server, the portable device including the IC chip and the application program, an online service providing method including at least some of the processes, a portable device controlling method including at least some of the processes executed by the IC chip and the application program, or a computer-readable storage medium that stores the application program non-transitorily.

Advantageous Effects of Invention

According to the present invention, it is possible to provide a novel security technology capable of realizing secure service use without impairing mobile convenience. According to the present invention, it is possible to provide a novel security technology capable of guaranteeing advanced security between three parties of an online service provider, an intermediate service provider, and a user.

BRIEF DESCRIPTION OF DRAWINGS

FIG. 1 is a diagram illustrating one characteristic of an online service providing system according to the present invention.

FIG. 2 is a block diagram illustrating a configuration of a service providing server providing an online service.

FIG. 3 is a block diagram illustrating a configuration of a user device used to use the online service.

FIG. 4 is a diagram schematically illustrating appearances and insertion forms of a SIM card and an IC card.

FIG. 5 is a block diagram schematically illustrating hardware configurations of the SIM card and the IC card.

FIG. 6 is a block diagram schematically illustrating logical configurations of a user device and the IC card.

FIG. 7 is a diagram illustrating a procedure of issuing an IC card.

FIG. 8 is a diagram illustrating a procedure of issuing the IC card.

FIG. 9 is a diagram illustrating a data structure of an IC card management database.

FIG. 10 is a diagram illustrating a flow of a registration procedure for an intermediate service.

FIG. 11 is a diagram illustrating a flow (continued from FIG. 10) of a registration procedure for an intermediate service.

FIG. 12 is a diagram illustrating a screen example displayed on a user device in the registration procedure for the intermediate service.

FIG. 13 is a diagram illustrating a flow of login authentication of the intermediate service.

FIG. 14 is a diagram illustrating a screen example displayed on the user device in the login authentication of the intermediate service.

FIG. 15 is a diagram illustrating a flow at the time of use of the intermediate service.

FIG. 16 is a diagram illustrating a screen example displayed on the user device at the time of use of the intermediate service.

FIG. 17 is a block diagram schematically illustrating a hardware configuration of the user device in which a secure element is embedded.

FIG. 18 is a block diagram schematically illustrating a hardware configuration of the user device including a SIM card.

FIG. 19 is a diagram illustrating post-installation of an electronic certificate.

FIG. 20 is a diagram illustrating an example of a mechanism for identifying an IC chip used in the user device when communication is executed between the user device and the intermediate server or the service providing server.

FIG. 21 is a diagram illustrating an example of a mechanism for identifying the IC chip used in the user device when communication is executed between the user device and the intermediate server or the service providing server.

FIG. 22 is a diagram illustrating a flow of a registration procedure for the intermediate service.

FIG. 23 is a diagram illustrating a flow of login authentication of the intermediate service.

FIG. 24 is a diagram illustrating a flow at the time of use of the intermediate service.

FIG. 25 is a diagram illustrating a flow of a registration procedure for the intermediate service.

FIG. 26 is a diagram illustrating a flow of a registration procedure for the intermediate service.

FIG. 27 is a diagram illustrating a flow of login authentication of the intermediate service.

FIG. 28 is a diagram illustrating a flow at the time of use of the intermediate service.

FIGS. 29A to 29C are diagrams illustrating an example of multiple connections of servers.

FIG. 30 is a diagram illustrating a flow of a registration procedure for the intermediate service.

FIG. 31 is a diagram illustrating a flow of login authentication of the intermediate service.

FIG. 32 is a diagram illustrating a flow of login authentication of the intermediate service.

FIG. 33 is a diagram illustrating a flow at the time of use of the intermediate service.

FIG. 34 is a diagram illustrating a flow at the time of a use of the intermediate service.

DESCRIPTION OF EMBODIMENTS

<Overview of Online Service Providing System>

FIG. 1 illustrates a flow of a procedure content signature (transaction signature) by public key encryption in which an IC card called a sub-SIM which is one of the characteristics of an online service providing system according to the present invention is used. In FIG. 1, a service provider is a party that provides an online service through the Internet and corresponds to, for example, a bank or the like that provides an online banking service. An intermediate service provider is a party that provides a service acting for (relaying) the online service provided by the service provider (referred to as an “intermediate service” or an “agent service” in the present specification) and corresponds to, for example, an agent or the like of electronic payment or the like that provides a web service such as account management, electronic remittance, or balance management.

An application program for using an intermediate service (hereinafter also referred to as an app) is installed on a user device (a smartphone or the like) possessed by a user and an IC card called a sub-SIM is inserted. A private key unique to the user is stored on the sub-SIM. When this service is carried out in Japan, it is assumed that a public key paired with the private key is registered in advance with a certificate authority authorized based on an act concerning electronic signatures and authentication work (Act No. 102 of 2000 (Heisei 12): hereinafter referred to as the “Electronic Signature Act”) and an electronic certificate is issued by the certificate authority.

In the system, when a user executes a procedure of transfer or the like from an app, user authentication (personal authentication) by a PIN code, a password, biometric authentication, or the like is first required. When user authentication is successful (that is, when it is confirmed that a party operating the app is the user), function limitation of the sub-SIM is released and a mode in which a function provided by the sub-SIM can be used is set. The app encrypts a procedure message (a transaction) describing procedure content with a private key using the function of the sub-SIM and creates an electronic signature. When the electronic signature and the procedure message are sent to an intermediate server of the intermediate service, the intermediate server verifies the electronic signature using the corresponding electronic certificate. When the procedure message is sent from a valid user and it is confirmed that the content is not altered as a result of the verification, the intermediate server transmits the electronic signature and the procedure message to a server of the online service. Then, once the server verifies the electronic signature using the corresponding electronic certificate, the procedure message is sent from the valid user, and it is confirmed that the content is not altered, a procedure of transfer or the like is executed in accordance with the content of the procedure message.

According to this method, it is possible to realize advanced security using public key encryption between three parties of the “service provider,” the “intermediate service provider,” and the “user”. This method is considerably convenient because it is not necessary to carry a device (such as a token of the related art) other than the user device and the online service can be used with the single user device via the intermediate service. Since a secure procedure can be executed using the electronic signature by only personal authentication, smart and simple operability can be realized.

Further, since a private key stored on an IC card called a sub-SIM and an encryption function provided by the IC card are used, secure data communication can be realized. A private key has a small leakage risk and a private key or an encryption function cannot be used when personal authentication by a PIN code, a password, or biometric authentication is not cleared. Therefore, a risk of illegal use by a third party can be made as small as possible.

It is not necessary for a service provider to distribute or manage a device such as a token, and a reduction in administration cost can be expected. Since data with which an electronic signature appended using an electronic certificate issued by a certificate authority accredited based on the Electronic Signature Act is estimated to be created authentically by a user according to Article 3 of the Electronic Signature Act, there is the advantage that a risk of lawsuits can be reduced.

<Intermediate Server>

FIG. 2A is a block diagram illustrating a configuration of the intermediate server. The intermediate server 21 is a server that provides an intermediate service provided by the intermediate service provider through the Internet. Hereinafter, the intermediate server 21 will be described giving an example of an intermediate service executing various procedures of a financial transaction service (so-called online banking) of a financial institution such as a bank online by proxy. However, this is merely one application example and the present invention can be preferably applied to all kinds of intermediate services.

The intermediate server 21 includes a user registration unit 210, a user information storage unit 211, a login control unit 212, and a proxy control unit 213 as main functions. The user registration unit 210 is a function of executing a new registration process for users. The user information storage unit 211 is a database that stores and manages information regarding the registered users. The login control unit 212 is a function of controlling use or non-use of an intermediate service and access or non-access of an online service in response to a login request from a user. The proxy control unit 213 is a function of controlling execution of a corresponding procedure of an online service in response to a procedure request from a user by proxy. The details of these functions and processes will be described below.

The intermediate server 21 can be configured by, for example, a general-purpose computer that includes a CPU (a processor), a memory (a RAM), a storage (an HDD, an SSD, or the like), a communication I/F, and an input/output device. In this case, the above-described functions and processes are realized by loading a program stored in the storage on the memory and allowing the CPU to execute the program. The intermediate server 21 may be configured by one computer, distributed computing, cloud computing, or the like. The intermediate server 21 may be configured by a dedicated computer rather than a general-purpose computer or some of the above-described functions or processes may be configured by an ASIC, an FPGA, or the like rather than software.

<Service Providing Server>

FIG. 2B is a block diagram illustrating a configuration of the service providing server. The service providing server 20 is a server that provides an online service (a WEB service) by a service provider through the Internet. Hereinafter, the service providing server 20 will be described giving an example of a financial transaction service (so-called online banking) of a financial institution such as a bank online. However, this is merely one application example and the present invention can be preferably applied to all kinds of online services.

The service providing server 20 includes a user registration unit 200, a user information storage unit 201, an access control unit 202, and a procedure control unit 203 as main functions. The user registration unit 200 is a function of executing a new registration process for a user. The user information storage unit 201 is a database that stores and manages information regarding the registered users. The access control unit 202 is a function of controlling access or non-access of an online service in response to an access request from the intermediate server 21. The procedure control unit 203 is a function of controlling execution of a corresponding procedure of an online service in response to a procedure request from the intermediate server 21. The details of these functions and processes will be described below.

The service providing server 20 can be configured by, for example, a general-purpose computer that includes a CPU (a processor), a memory (a RAM), a storage (an HDD, an SSD, or the like), a communication I/F, and an input/output device. In this case, the above-described functions and processes are realized by loading a program stored in the storage on the memory and allowing the CPU to execute the program. The service providing server 20 may be configured by one computer, distributed computing, cloud computing, or the like. The service providing server 20 may be configured by a dedicated computer rather than a general-purpose computer or some of the above-described functions or processes may be configured by an ASIC, an FPGA, or the like rather than software.

<User Device>

FIG. 3 is a block diagram illustrating a configuration of a portable device used for a user to use an intermediate service (hereinafter referred to as a “user device”). In the embodiment, a smartphone will be exemplified as an example of the user device 30. This is merely one application example. As the user device 30, any device may be used as long as the device is a portable electronic device which includes a processor and a memory to execute an application program for using the intermediate service, into which a subscriber identity module card (a SIM card) is inserted, and which can be connected to the Internet. Apart from a smartphone, for example, a tablet terminal, a mobile PC, a wearable PC, a smartwatch, smart glasses, a smart wallet, and a portable game device can be exemplified.

The user device 30 includes a CPU (a processor) 300, a memory 301, a storage 302, a touch panel display 303, a communication module 304, a power source 305, a SIM card 306, an IC card 307, and an NFC chip 320 as main hardware resources. The memory 301 is a RAM and provides a storage area used as a working memory by the CPU 300. The storage 302 is a nonvolatile storage medium that stores an application program or various kinds of data and corresponds to, for example, an embedded EEPROM or a flash memory inserted into a card slot. The touch panel display 303 is a device that serves as both a display device and an input device. The communication module 304 is a device that is in charge of data communication or voice communication by the user device 30. The communication module 304 according to the embodiment is assumed to correspond to communication in which a mobile telephone network such as 3G or 4G/LTE, near field communication, communication utilizing Wi-Fi, or the like is used. The power source 305 supplies power to the user device 30 and is configured as a lithium-ion battery and a power circuit. The SIM card 306 is a contact IC card on which subscriber information of communication using a mobile telephone network is recorded. The IC card 307 is a contact IC card like the SIM card 306. The IC card 307 is a device additionally mounted on the user device 30 to realize secure use of an intermediate service and an online service. The NFC chip 320 is an IC chip that provides a near field communication function in conformity with a near field communication (NFC) standard and an application using the near field communication. In the embodiment, the SIM card 306, the IC card 307, and the NFC chip 320 are configured by different hardware, but an NFC function may be mounted on the SIM card 306 and/or the IC card 307.

<IC Card>

FIG. 4 is a diagram schematically illustrating appearances and insertion forms of the SIM card 306 and the IC card 307. FIG. 5 is a block diagram schematically illustrating hardware configurations of the SIM card 306 and the IC card 307.

The SIM card 306 has a structure in which the IC chip 40 is mounted on a resin plate with a width of 15 mm×a height of 12 mm×a thickness of 0.76 mm. As illustrated in FIG. 5, the IC chip 40 includes a processor 401, a RAM 402, a nonvolatile memory 403, and eight pins (electrodes) 404. The nonvolatile memory 403 stores data such as a unique serial number (ICCID) of the SIM card 306 and subscriber identification information (IMSI) and a program executed by the processor 401. The eight pins 404 include a power input terminal, a reset terminal, a clock terminal, an earthing terminal, a program voltage input terminal, and I/O terminal, a reserve terminal.

When a user subscribes to a mobile communication service provided by a mobile network operator (MNO) or a mobile virtual network operator (MVNO), the SIM card 306 is provided from the service provider. The data or the program stored on the SIM card 306 differ for each service provider, but a basic structure of the SIM card 306 is identical as long as the SIM card 306 conforms to an international standard. In the embodiment, a micro-SIM will be exemplified, but a mini-SIM or a nano-SIM can also be used as the SIM card.

The IC card 307 has the same or substantially the same the width and the height as the SIM card 306 and has a structure in which an IC chip 41 is buried in a flexible film with a thickness of about 0.1 to 0.2 mm. The IC chip 41 also includes a processor 411, a RAM 412, a nonvolatile memory 413, and eight pins (electrodes) 414. The nonvolatile memory 413 of the IC card 307 stores data and a program for realizing secure use of the online service (the details of which will be described below).

The eight pins 414 of the IC card 307 are exposed on both the front surface and rear surface of the IC card 307 and have the same arrangement as the eight pins 404 of the SIM card 306. As illustrated in FIG. 4, corresponding pins (electrodes) of the IC card 307 and the SIM card 306 are connected physically and electrically by stacking with and attaching the IC card 307 and the SIM card 306. Since the IC card 307 is very thin, the SIM card 306 to which the IC card 307 is attached can be inserted into the SIM card slot 308 of the user device 30. FIG. 5 schematically illustrates a state in which the IC card 307 and the SIM card 306 are inserted into the SIM card slot 308. The pins 414 on the front surface of the IC card 307 are connected to the terminal 310 of the control substrate 309 of the user device 30 and the pins 404 of the SIM card 306 are connected to the terminal 310 of the control substrate 309 via the pins 414 of the IC card 307.

The CPU 300 of the user device 30 can selectively access any of the IC card 307 and the SIM card 306. In other words, an application program operated by the CPU 300 of the user device 30 can selectively switch between a mode in which communication is executed by the IC card 307 and a mode in which communication is executed by the SIM card 306. In the case of the former mode, the processor 411 of the IC card 307 processes a signal (a command) that it has received from the user device 30 and the signal is not transmitted to the SIM card 306. On the other hand, in the case of the latter mode, the processor 411 of the IC card 307 executes an operation of relaying (passing) a signal between the user device 30 and the SIM card 306. In the embodiment, the type of IC card 307 stacked with and attached to the communication SIM card 306 is also referred to as a “sub-SIM”.

When the sub-SIM type of IC card 307 is used, the following advantages can be obtained. The IC card 307 can be inserted into a portable device that has a SIM card slot (that is, for a portable device, a special structure or handiwork is not necessary at all and the IC card 307 can be inserted into almost any portable device). The IC card 307 can be inserted into a portable device that has only one SIM card slot (in other words, a portable device in which there is no empty SIM card slot). The communication SIM card 306 and the IC card 307 are completely independent functionally and have no effect on each other. Therefore, after the IC card 307 is inserted, voice communication or data communication can be used together similarly. Further, since a SIM card of any service provider can be added, introduction and supply are easy.

<Function of IC Card>

FIG. 6 is a block diagram schematically illustrating logical configurations of the user device 30 and the IC card 307.

In the user device 30, an application program 60 for using an intermediate service provided by the intermediate server 21 (hereinafter simply referred to as a “body app 60”) is installed. The body app 60 is a program that is distributed by an intermediate service provider (an agent or the like of electronic payment or the like in the case of this embodiment). A user downloads and installs the body app 60 through an application distributer on the Internet before the user uses the intermediate service.

The body app 60 includes a main processing unit 600, a user authentication unit 601, and a security processing unit 602 as main functions. The main processing unit 600 is a function in charge of controlling display or input of a use screen of the intermediate service and transmitting and receiving data to and from the intermediate server 21. The user authentication unit 601 is a function in charge of checking validity of a party using the user device 30. Here, the user authentication is executed to check whether a party actually operating the user device 30 is a valid party (a user or a party who has received permission from a valid user). The security processing unit 602 is a function of executing security processing such as encryption or an electronic signature of data using the function of the IC card 307.

The nonvolatile memory 413 (hereinafter simply referred to as a “memory 413”) of the IC card 307 stores personal information 610 used for the above-described user authentication, a pair of a private key 611 and a public key 612 of the user, an electronic certificate 613 of the user, a hash function 614, and a program 615. An address space of the memory 413 has an area 4130 that can be accessed (reading and writing) from the outside and an area that cannot be accessed from the outside (that is, an area accessible to only the processor 411 of the IC card 307) 4131. The data used in the security processing (the personal information 610, the private key 611, the public key 612, the electronic certificate 613, the hash function 614, the program 615, and the like) is all stored in the area 4131 and cannot be read and written directly from the outside (for example, the body app 60 or the like). Data such as a serial number 616 and a manufacturing number 617 of the IC card 307 is stored in the area 4130 and can be read from the outside.

The processor 411 of the IC card 307 provides several APIs (Application Programming Interfaces) related to the security function to external apps. FIG. 6 illustrates, for example, an authentication function 620, an encryption function 621, an electronic signature function 622, a personal information changing function 623, a key generation function 624, a public key reading function 625, an electronic certificate writing function 626, and an electronic certificate reading function 627. These functions are realized by the processor 411 executing the program 615.

The authentication function 620 is a function of executing user authentication by collating information given from the outside with the personal information 610 stored in the memory 413. The functions 621 to 627 other than the authentication function 620 cannot be used when the user authentication is not successful. Any method for the user authentication can be used. For example, when the authentication method is PIN code authentication, the authentication function 620 receives a code (for example, a number of 4 digits) input by the user from the user authentication unit 601 of the body app 60 and checks whether the input code matches the PIN code registered as the personal information 610. When the input code matches the PIN code, a result of “OK” is returned. When the input code does not match the PIN code, a result of “NG” is returned. When the authentication method is password authentication, the authentication function 620 receives a password (for example, a password of 6 to 16 characters) input by the user from the user authentication unit 601 of the body app 60 and checks whether the input password matches a password registered as the personal information 610. When the input password matches the password registered as the personal information 610, the result of “OK” is returned. When the input password does not match the password registered as the personal information 610, the result of “NG” is returned. When the authentication method is biometric authentication, the authentication function 620 receives biometric information (a facial image, a voiceprint, an iris, a fingerprint, a vein, or the like) of the user from the user authentication unit 601 of the body app 60 and determines whether the biometric information is the user's own biometric information by comparing characteristics extracted from the biometric information with a personal feature registered as the personal information 610. When the biometric information is determined to be the user's own biometric information, the result of “OK” is returned. When the biometric information is determined not to be the user's own biometric information, the result of “NG” is returned. More advanced security may be realized by combining two or more of the PIN code authentication, the password authentication, and the biometric authentication or combining another authentication method.

The encryption function 621 is a function of encrypting data given from the outside using the private key 611. For example, the encryption function 621 receives the data from the security processing unit 602 of the body app 60, encrypts the data using the private key 611, and returns the encrypted data (a cryptogram). An encryption algorithm is preferably RSA, DSA, ECDSA, or the like and any algorithm may be used.

The electronic signature function 622 is a function of executing an electronic signature on data given from the outside using the private key 611. A difference from the encryption function 621 is that the given data is not encrypted, but a hash value of the given data is encrypted. For example, the electronic signature function 622 receives data from the security processing unit 602 of the body app 60, calculates a hash value by the hash function 614, encrypts the hash value using the private key 611, and returns the encrypted hash value. Any hash function may be used (SHA-1 and SHA-256 are used in this embodiment). When the size of electronic signature target data is small, a signature obtained by encrypting the data may be used as an electronic signature rather than the hash value.

The personal information changing function 623 is a function of writing the personal information 610 on the memory 413 or updating or deleting the personal information 610 stored in the memory 413. This function is used when the body app 60 newly registers or changes information regarding the user on the IC card 307.

The key generation function 624 is a function of generating a pair of the private key 611 and the public key 612. In an initial state of the IC card 307, information associated with the user, such as the personal information 610, the private key 611, the public key 612, and the electronic certificate 613, is not stored in the memory 413 and is registered in the memory 413 at the time of a procedure of issuing the IC card (this operation is referred to as activation of the IC card) as will be described below. By executing the generation of the private key 611 and the storing in the memory 413 in a closed space of the IC card 307, it is possible to reduce a leakage risk of the private key 611. In the embodiment, since an API reading the private key 611 from the memory 413 is not prepared, the leakage risk of the private key 611 to the outside is almost zero.

The public key reading function 625 is a function of reading the public key 612 from the memory 413. The electronic certificate writing function 626 is a function of writing the electronic certificate 613 on the memory 413 and the electronic certificate reading function 627 is a function of reading the electronic certificate 613 from the memory 413. Since the public key 612 or the electronic certificate 613 is distributed to a communication partner, the public key 612 or the electronic certificate 613 can be read to the outside. Writing the electronic certificate 613 is necessary at the time of the procedure of issuing the IC card.

In the above-described configuration, the body app 60 of the user device 30 can realize the encryption of the data or the electronic signature simply through the public key encryption by using the IC card 307. When the function of the encryption or the electronic signature of the IC card 307 is used, user authentication is necessary. Further, since the leakage risk of the private key is almost zero, considerably robust security is guaranteed.

<Procedure of Issuing IC Card>

A procedure of issuing the IC card 307 (activation of the IC card) will be described with reference to FIGS. 7 and 8. FIG. 7 is a diagram illustrating an IC card issuing terminal and FIG. 8 is a diagram illustrating a flow of a procedure of issuing the IC card.

The IC card issuing terminal 70 is a terminal that newly issues the IC card 307 and is installed in, for example, a mobile phone shop, a service provider store (a bank or the like), a convenience store, a service counter of an agency, or the like. The IC card issuing terminal 70 is configured by a computer that includes a reader/writer of an IC card. When operated by a store staff member, the IC card issuing terminal 70 may be configured by a general-purpose personal computer or a tablet terminal. When operated a user (an applicant for an IC card), the IC card issuing terminal 70 may be configured as a KIOSK terminal.

A flow of an issuing procedure will be described with reference to FIG. 8. Here, the “user” is a party that newly applies the IC card 307 to use the online service (referred to as a “user” or an “applicant” in description of FIG. 8). The “staff” is a party that executes issue work of the IC card 307 using the IC card issuing terminal 70. The “communication service manager” is a party in charge of managing issuance or administration of the IC card 307. The communication service manager is in charge of providing the IC card 307, applying an electronic certificate to a certificate authority, managing the issued IC card, managing association of the IC card 307 and the SIM card 306, and invalidating the IC card 307 (for example, when the user device 30 is lost, stolen, or discarded). Since the security function of the IC card 307 can be used for various online services, the communication service manager may work in a different business company from the service provider or the intermediate service provider of the online service. The “certificate authority” is a party that issues or annuls an electronic certificate of a public key.

The applicant for an IC card first makes a use application of the IC card in a service counter (step S800). In the use application, personal confirmation information of the applicant is delivered and a personal confirmation document (a driver's license or the like) is presented. The personal confirmation information may include, for example, a name, a sex, a date of birth, and an address. The applicant designates a PIN code to be registered on the IC card. A staff executes personal confirmation by collating the information delivered from the applicant with the personal confirmation document, and then inputs the information on the IC card issuing terminal 70 (step S801). The applicant may be allowed to input the PIN code so that the PIN code is not known to the staff.

Subsequently, the staff sets the new IC card 307 on the IC card issuing terminal 70 and gives an instruction to start an activation process. On the memory 413 of the IC card 307 in this stage, only “the hash function 614 and the program 615” are stored among the information illustrated in FIG. 6. The “private key 611, the public key 612, and the electronic certificate 613” which are information associated with the user have not been stored, and the PIN code of the personal information 610 is an initial value (for example, “0000”). The IC card issuing terminal 70 first executes authentication with the PIN code of the initial value using the authentication function 620, and subsequently registers the PIN code designated by the applicant using the personal information changing function 623 and instructs the key generation function 624 to create a pair of keys to create the private key 611 and the public key 612 (step S802). The PIN code and the pair of keys are written in a predetermined area 4131 of the memory 413. Subsequently, the IC card issuing terminal 70 reads the public key 612 from the memory 413 using the public key reading function 625, creates a CSR (Certificate Signing Request) from the public key 612 and the personal confirmation information input in step S801, and transmits the CSR to a management server of the communication service manager (step S803).

The management server transmits the CSR to a predetermined certificate authority when the CSR is received from the IC card issuing terminal 70 (step S804). At this time, the management server may execute a credit check of the applicant based on the personal confirmation information.

The certificate authority issues the electronic certificate of the public key of the applicant in accordance with the received CSR and transmits the electronic certificate to the management server (step S805). The electronic certificate is a certificate used to prove the public key and the owner of the electronic certificate. In the case of X.509 designed by ITU-T, the electronic certificate is data that includes the public key, owner information (which corresponds to personal confirmation information), an electronic signature of the certificate authority, a validity period of the electronic certificate, and information of an issuer. The electronic signature of the certificate authority is an electronic signature obtained by encrypting a hash value created from the owner information and the public key included in the electronic certificate with the private key of the certificate authority.

The management server transmits the issued electronic certificate to the IC card issuing terminal 70 (step S806). The IC card issuing terminal 70 writes the electronic certificate on the memory 413 using the electronic certificate writing function 626 of the IC card 307 (step S807). In this state, on the memory 413 of the IC card 307, the personal information 610 (the PIN code in this embodiment), the private key 611, the public key 612, and the electronic certificate 613 which are data necessary for security processing are arranged.

Subsequently, the IC card 307 is inserted into the user device 30 of the applicant (step S808). Specifically, the communication SIM card 306 is extracted from the user device 30, the IC card 307 is attached to the SIM card 306, and subsequently the SIM card 306 is inserted into the user device 30 again. Further, a setup program is installed on the user device 30 and a setup process for the IC card 307 is executed by the setup program. The insertion and the setup of the IC card 307 may be executed by the staff or the applicant.

In the setup process, the user device 30 (the setup program operated by the user device 30) reads a “serial number” and a “manufacturing number” from the IC card 307 and reads a “telephone number” and a “manufacturing number” from the SIM card 306. The setup program acquires an IMEI (International Mobile Equipment Identity) as information regarding the user device 30. The setup program transmits a request for registering the IC card to the management server of the communication service manager together with the information (step S809). When the management server receives the request for registering the IC card from the user device 30, the management server registers information regarding the IC card 307, the SIM card 306, and the user device 30 included in the request in an IC card management database (step S810).

FIG. 9 illustrates an example of a data structure of IC card management information stored in the IC card management database. The “telephone number” and the “manufacturing number” of the SIM card 306 and the “IMEI” of the user device 30 are managed in association with the “serial number” and the “manufacturing number” of the IC card 307. Although not illustrated, personal confirmation information (a name, a sex, an address, a date of birth) of the user, the public key, information of the electronic certificate, and the like may be managed as the IC card management information.

When the registration of the IC card management information is completed, the management server notifies the user device 30 of registration completion (step S811). Thus, the setup of the user device 30 is completed and the IC card 307 enters a usable state (an activation state).

The issuing procedure illustrated in FIG. 8 is merely an example and the issuing procedure may be executed in a different procedure. For example, the IC card 307 in which the private key, the public key, the electronic certificate, and the PIN code are registered in advance may be prepared in the service counter. In this case, since a writing process on the IC card 307 is not necessary, it is not necessary to use the IC card issuing terminal 70. The procedure of issuing the IC card can become simple through the setup process on the user device 30. When the biometric authentication is used rather than the PIN code authentication, biometric information (a facial image, a voiceprint, an iris, a fingerprint, or the like) registered as the personal information on the IC card 307 may be input using the IC card issuing terminal 70 or the like.

<First Registration for Intermediate Service>

A first registration procedure for an intermediate service will be described with reference to FIGS. 10, 11, and 12. FIGS. 10 and 11 are diagrams illustrating a flow of a registration procedure for the intermediate service and FIG. 12 is a diagram illustrating an example of a screen displayed on the user device 30. In this stage, it is assumed that user registration for the online service has already been completed and an ID password used to log in to the online service is assigned to a user.

First, the user operates the user device 30 to download and install the body app 60 (step S1001). Then, the user activates the body app 60 to open a login screen of the intermediate service (step S1002). As illustrated in FIG. 12, at the time of first login, the user inputs the user ID and the password of the intermediate service on the login screen 120 to log in to the intermediate service (step S1003). At this time, the body app 60 stores the user ID of the intermediate service in a nonvolatile memory (step S1004). The password may not be stored on the user device 30 from the viewpoint of security. The user ID and the password are information assigned by the intermediate service provider when a new use application of the intermediate service which is a separate procedure is made.

When the login is completed, the intermediate server 21 transmits a predetermined telegram (which may have any content) to the user device 30 to make a request for an electronic signature and an electronic certificate (step S1005).

The user authentication unit 601 of the body app 60 displays a PIN code input screen 121, as illustrated in FIG. 12. When the user inputs a PIN code, the user authentication unit 601 checks whether the input PIN code is correct using the authentication function 620 of the IC card 307 (step S1006). When the PIN code is correct (that is, the user authentication is successful), the other functions 621 to 627 of the IC card 307 can be used from the body app 60. The security processing unit 602 of the body app 60 executes an electronic signature in the telegram received from the intermediate server 21 using the electronic signature function 622 of the IC card 307 and reads the electronic certificate 613 from the memory 413 using the electronic certificate reading function 627. Then, the main processing unit 600 of the body app 60 transmits the telegram with the electronic signature and the electronic certificate 613 to the intermediate server 21 (step S1007).

The intermediate server 21 verifies the telegram with the electronic signature using the electronic certificate 613 received from the user device 30 (step S1008). The “verification” is an operation of checking whether the user executes the electronic signature (that is, the user creates the electronic signature with the private key) by decoding the telegram with the electronic signature with the public key included in the electronic certificate 613 and investigating agreement of a decoded result and the original telegram. When the electronic signature is data obtained by encrypting the telegram, the decoded result and the original telegram may be compared. When the electronic signature is data obtained by encrypting a hash value of the telegram, the decoded result and the hash value of the original telegram may be compared.

When the verification is successful, the intermediate server 21 registers the password and the user ID of the user in the user information storage unit 211 in association with the electronic certificate (step S1009). Then, the intermediate server 21 notifies the body app 60 that the registration of the electronic certificate is completed (step S1010). When the registration of the intermediate service is completed, a menu screen 122 is displayed on the user device 30, as illustrated in FIG. 12 (step S1011).

Next, an order of association of the user with the intermediate service and the online service will be described. An association process is executed, for example, when the user starts and uses any procedure of the online service via the intermediate service or when the user registers bank account information on a menu screen of the intermediate service. FIGS. 10 and 11 illustrate an example of balance inquiry by the user.

When the user selects “balance inquiry” on the menu screen 122 and inputs information regarding a target bank account (a bank name, an account number, an account holder, and the like), the body app 60 transmits a balance inquiry request to the intermediate server 21 (step S1012). The proxy control unit 213 of the intermediate server 21 makes the balance inquiry request to the service providing server 20 of an inquiry destination bank (step S1013). The balance inquiry request includes the bank account information of the user.

The access control unit 202 of the service providing server 20 requests the user to input the ID and the password of the online service when the user executes first access via the intermediate server 21 (step S1014). Specifically, as illustrated in FIG. 12, a login screen 123 of the online service is displayed on the user device 30 (step S1015). Therefore, the user inputs the user ID and the password of the online service to log in to the online service (step S1016).

When the login is completed, the service providing server 20 transmits an authentication telegram (which may have any content) to the user device 30 to make a request for an electronic signature and an electronic certificate (step S1017).

The user authentication unit 601 of the body app 60 displays a PIN code input screen 124, as illustrated in FIG. 12. When the user inputs a PIN code, the user authentication unit 601 checks whether the input PIN code is correct using the authentication function 620 of the IC card 307 (step S1018). When the PIN code is correct (that is, the user authentication is successful), the other functions 621 to 627 of the IC card 307 can be used from the body app 60. The security processing unit 602 of the body app 60 executes an electronic signature in the authentication telegram received from the service providing server 20 using the electronic signature function 622 of the IC card 307 and reads the electronic certificate 613 from the memory 413 using the electronic certificate reading function 627. Then, the main processing unit 600 of the body app 60 transmits the authentication telegram with the electronic signature and the electronic certificate 613 to the service providing server 20 (step S1019). At this time, the body app 60 stores the authentication telegram in the nonvolatile memory (step S1020).

The service providing server 20 verifies the authentication telegram with the electronic signature using the electronic certificate 613 received from the user device 30 (step S1021). When the verification is successful, the service providing server 20 issues an access token for a pair of the user and the intermediate service. In the embodiment, proxy execution of the online service by the intermediate server 21 is realized using the mechanism of OAuth 2.0. The access token looks like a permit when the online service is used by the intermediate server 21 instead of the user. The user registration unit 200 registers the authentication telegram, the access token, and the electronic certificate of the user in the user information storage unit 201 in association (step S1023).

Then, the service providing server 20 notifies the intermediate server 21 of information regarding a balance of the user and the issued access token (step S1024). The intermediate server 21 registers the received access token and the ID of the intermediate service of the user in the user information storage unit 211 in association (step S1025). Although not illustrated, the intermediate server 21 also receives a refresh token together with the access token from the service providing server 20. The refresh token is a token used to re-issue the access token. Since this has the specification of OAuth 2.0, the detailed description thereof will be omitted herein.

Thereafter, the intermediate server 21 notifies the body app 60 of the information regarding the balance (step S1026). As illustrated in FIG. 12, a confirmation screen 125 of the balance is displayed on the user device 30 (step S1027).

<Login to Intermediate Service>

Login authentication of the intermediate service will be described with reference to FIGS. 13 and 14. FIG. 13 is a diagram illustrating a flow of the login authentication of the intermediate service and FIG. 14 is a diagram illustrating an example of a screen displayed on the user device 30.

When the user activates the body app 60 in the user device 30, the user authentication unit 601 displays a PIN code input screen 140, as illustrated in FIG. 14 (step S1300). When the user inputs the PIN code, the user authentication unit 601 checks whether the input PIN code is correct using the authentication function 620 of the IC card 307 (step S1301). When the PIN code is correct (that is, the user authentication is successful), the security processing unit 602 of the body app 60 executes the electronic signature for the authentication telegram and the user ID of the intermediate service using the electronic signature function 622 of the IC card 307 (step S1302). Then, the main processing unit 600 of the body app 60 transmits a login request to the intermediate server 21 (step S1303). The user ID of the intermediate service, the authentication telegram, and the electronic signature are added to the login request.

When the login request is received, the login control unit 212 of the intermediate server 21 reads the corresponding electronic certificate from the user information storage unit 211 based on the user ID included in the login request and verifies the electronic signature included in the login request using the electronic certificate (step S1304). The login control unit 212 may inquire of the certificate authority about validity of the electronic certificate as necessary (steps S1305 and S1306). When the electronic signature is verified successfully and the validity of the electronic certificate is confirmed, the login control unit 212 determines that the login request is a request from the valid user.

Subsequently, the login control unit 212 of the intermediate server 21 reads the access token of the online service from the user information storage unit 211 based on the user ID included in the login request and transmits the access request to the service providing server 20 (step S1307). The access token, and the authentication telegram and the electronic signature included in the login request are added to the access request.

When the access request is received, the access control unit 202 of the service providing server 20 reads the corresponding electronic certificate from the user information storage unit 201 based on the access token included in the access request and verifies the electronic signature included in the access request using the electronic certificate (step S1308). The access control unit 202 may inquire of the certificate authority about validity of the electronic certificate as necessary (steps S1309 and S1310). When the electronic signature is verified successfully and the validity of the electronic certificate is confirmed, the access control unit 202 determines that the access request is a request from the intermediate server 21 to which the proxy authority is given by the user and gives access permission to the intermediate server 21 (step S1311).

When the access permission of the online service is obtained, the intermediate server 21 notifies the body app 60 of login authentication OK (step S1312). Then, as illustrated in FIG. 14, a menu screen 141 of the intermediate service is displayed on the user device 30 and the user can execute a desired procedure.

According to the above-described login authentication, when the user merely inputs a PIN code, login can be executed with a very simple operation, compared to a method of inputting an ID and a password every time in the related art or a method of using a token. Further, since the security function provided by the IC card 307 is used, advanced security is guaranteed.

In the method according to the embodiment, the intermediate service can be associated with the online service without providing any information of the ID and the password of the online service to the intermediate service. Accordingly, even a user who feels resistant to disclose an ID and a password of online banking to another service provider can use the service at ease.

<Use of Online Service>

An order at the time of use of the intermediate service will be described with reference to FIGS. 15 and 16. FIG. 15 is a diagram illustrating a flow at the time of use of an intermediate service and FIG. 16 is a diagram illustrating an example of a screen displayed on the user device 30. It is assumed that the login to the intermediate service has already been completed and a menu screen 160 is displayed on the user device 30.

When the user selects the procedure which the user desires to use on the menu screen 160, the screen transitions to a detail screen 161 (step S1500). FIG. 16 illustrates an example of a screen when the user selects “Transfer”. When the user inputs necessary information (for example, a transfer destination, a transfer amount, and the like) on the detail screen 161 and presses an execution button (step S1501), the main processing unit 600 of the body app 60 creates a procedure message describing information necessary for a transfer procedure (step S1502).

Subsequently, the user authentication unit 601 of the body app 60 displays a PIN code input screen 162 and executes PIN code authentication (step S1503). Since an order of the PIN code authentication is similar to the above-described order, description thereof will be omitted. When the PIN code authentication is successful, the security processing unit 602 of the body app 60 executes the electronic signature in a procedure message using the electronic signature function 622 of the IC card 307 (step S1504). At this time, the electronic signature function 622 may create the electronic signature by calculating a hash value of the procedure message and encrypting the hash value with the private key 611 or may create the electronic signature by encrypting the procedure message with the private key 611. Then, the main processing unit 600 of the body app 60 transmits a procedure request to the intermediate server 21 (step S1505). An ID of the intermediate service, the procedure message, and the electronic signature are added to the procedure request.

When the procedure request is received, the proxy control unit 213 of the intermediate server 21 reads the corresponding electronic certificate from the user information storage unit 211 based on the user ID included in the procedure request and verifies the electronic signature included in the procedure request using the electronic certificate (step S1506). The proxy control unit 213 may inquire of the certificate authority about validity of the electronic certificate as necessary (steps S1507 and S1508). When the electronic signature is verified successfully and the validity of the electronic certificate is confirmed, the proxy control unit 213 determines that the procedure request is a request from the valid user. That is, it is determined that there is no impersonation by a third party and the content of the procedure message is not altered.

When it can be confirmed that the procedure request is the request from the valid user, the proxy control unit 213 reads the access token of the corresponding online service from the user information storage unit 211 based on the procedure message and the user ID included in the procedure request and transmits the procedure request to the service providing server 20 (step S1509). The access token, and the procedure message and the electronic signature received from the user device 30 are added to the procedure request.

When the procedure request is received, the procedure control unit 203 of the service providing server 20 reads the corresponding electronic certificate from the user information storage unit 201 based on the access token included in the procedure request and verifies the electronic signature included in the procedure request using the electronic certificate (step S1510). The procedure control unit 203 may inquire of the certificate authority about validity of the electronic certificate as necessary (steps S1511 and S1512). When the electronic signature is verified successfully and the validity of the electronic certificate is confirmed, the procedure control unit 203 determines that the procedure request is a request from the valid user. That is, it is determined that there is no impersonation by a third party and the content of the procedure message is not altered.

The procedure control unit 203 executes a procedure (transfer or the like) based on information described in the procedure message only when it can be confirmed that the procedure request is the request from the valid user (step S1513). When the procedure is completed, the procedure control unit 203 transmits a procedure completion notification to the intermediate server 21 (step S1514) and the intermediate server 21 transmits the procedure completion notification to the body app 60 (step S1515). Then, as illustrated in FIG. 16, a procedure completion screen 163 is displayed.

Through the above-described process, the user can use the intermediate service and the online service through a simpler operation by merely inputting the PIN code rather than a method of inputting an ID and a password every time or a method of using a token in the related art. Further, since the security function provided by the IC card 307 is used, advanced security is guaranteed and it is possible to prevent impersonation or alteration of the procedure message due to a so-called man-in-the-middle attack.

In the example of FIG. 15, the procedure request transmitted from the user device 30 includes the procedure message of plain text. This is because the intermediate server 21 (an intermediate service provider) can also verify whether the procedure message is not altered. However, in some cases, it is also assumed that the procedure message includes information which is not desired to be known by people other than a service provider or information which is unnecessary to deliver. For example, when an address change procedure is executed online, address information is included in the procedure message after the change. However, since personal information such as an address is privacy information, many users do not want the information to be delivered to the intermediate service provider. A bank has a legal duty to manage address information, but an intermediate service provider has no duty to manage address information. Therefore, an intermediate service provider side may be thought to want to avoid receiving unnecessary personal information.

Accordingly, the user device 30 may encrypt the procedure message using a public key of the service providing server 20 (the service provider). That is, the body app 60 of the user device 30 encrypts the procedure message such as an address change procedure using the public key of the service providing server 20, subsequently executes the electronic signature on the encrypted procedure message using the private key 611 of the user, and transmits the procedure request including the ID, the encrypted procedure message, and the electronic signature to the intermediate server 21.

According to this method, the intermediate server 21 can confirm that the procedure request is transmitted from the valid user by verifying the electronic signature, but cannot confirm the content of the procedure message. Meanwhile, the service providing server 20 can confirm the content (the address information or the like of the user) of the procedure message by decoding the procedure message using the private key stored on its own server, and can execute the procedure. Accordingly, it is possible to realize a mechanism in which information is delivered to only the service provider in a state in which the information is hidden from the intermediate service provider while the information is passed through the intermediate service by the intermediate service provider.

<Invalidation of IC Card>

In the user device 30 according to the embodiment, the intermediate service and the online service cannot be used unless user authentication using a PIN code or biometric information is successful. Accordingly, even when the user device 30 is lost or stolen, a risk of a third party illegally using the user device 30 is small. Since a possibility of PIN code authentication or biometric authentication being broken is not zero, a function of invalidating an IC card, as will be described below, may be preferably mounted.

(1) Self-Destruction Function of IC Card

The self-destruction is an operation in which the processor 411 of the IC card 307 invalidates the function of the IC card 307 by oneself. As specific operation, there is a method or the like of applying a lock so that the function of the IC card 307 cannot be used from the outside (the body app 60) or erasing data (the pair of keys, the electronic certificate, or the like) stored in the memory 413. For example, when a wrong PIN code is input continuously a predetermined number of times or when access to the memory 413 is made in accordance with a method other than an API, the processor 411 may execute self-destruction.

(2) Invalidation of IC Card

When the communication service manager receives a report of loss or theft of the user device 30 or the IC card 307 from the user, the management server may transmit an invalidation signal to the user device 30 or the IC card 307 to invalidate the IC card 307. Alternatively, when the management server monitors a use situation of the IC card 307 and detects abnormality (for example, a non-use state continues for a long time, a use frequency increases abruptly, or much money is remitted), the IC card 307 may be invalidated. Alternatively, when the management server monitors a combination of the IC card 307, the SIM card 306, and the user device 30 and detects disagreement from information managed with IC card management information (for example, when the IC card is extracted alone or together with the SIM card and is inserted into another portable device, the disagreement can occur), the IC card 307 may be invalidated. As the invalidation method, there is a method or the like of applying a lock so that the function of the IC card 307 cannot be used from the outside (the body app 60) or erasing data (the pair of keys, the electronic certificate, or the like) stored in the memory 413.

(3) Invalidation of Electronic Certificate

When the communication service manager receives a report of loss or theft of the user device 30 or the IC card 307 from the user, the management server requests the certificate authority to invalidate the electronic certificate of the user. Alternatively, when the management server monitors a use situation of the IC card 307 or a combination of the IC card, the SIM card, and the user device and detects abnormality, the management server may request the certificate authority to invalidate the electronic certificate when abnormality is detected.

<Other>

The above-described embodiment has been described as one specific example of the present invention. The technical scope of the present invention is not limited to the content of the above-described embodiment and the present invention can be realized in various specific forms within the technical scope. For example, the present invention can be applied not only to the online banking service but also various types of online services. In the above-described embodiment, the sub-SIM type of IC card has been exemplified, but an IC card with the specification of a general micro-SIM or nano-SIM may be inserted (into another slot from a communication SIM card) as long as a portable device includes a plurality of SIM card slots. Alternatively, a type of IC card inserted into a slot other than a SIM card slot may be used or an IC chip (for example, a secure element) embedded in a portable device may be used. In the above-described embodiment, the login request includes only the user ID with the electronic signature, but the electronic certificate may also be transmitted together. In the above-described embodiment, the electronic signature is executed only on data to be transmitted from the user device to the intermediate server, but the intermediate server or the service providing server preferably executes the electronic signature or encryption on the data to be transmitted to the user device. In this case, the intermediate server or the service providing server may execute the electronic signature or encryption using its own cryptographic key or execute encryption using the public key of the user.

<Secure Element>

In the above-described embodiment, an encryption function (a security function) is provided by a sub-SIM type of IC card, but a part or the entirety of the encryption function may be provided by a secure element 1600 embedded in or connected to the user device 30. FIG. 17 is a block diagram schematically illustrating a hardware configuration of the user device 30 in which the secure element 1600 is embedded.

The secure element 1600 is an IC chip that has tolerance (tamper resistant) to analysis of stored data from the outside and is mainly used to manage confidential information. The secure element 1600 is an IC chip independent from a control substrate 309 (including a processor 1611, a RAM 1612, and a nonvolatile memory 1613) of the body of the user device 30, and includes a processor 1601, a RAM 1602, and a nonvolatile memory 1603. The secure element 1600 communicates with the processor 1611 or the like of the body of the user device 30.

When the encryption functions are provided by the secure element 1600, data used for the encryption functions (the personal information 610, the private key 611, the public key 612, the electronic certificate 613, the hash function 614, and the program 615, and the like illustrated in FIG. 6) may be stored in the nonvolatile memory 1603 in the secure element 1600. The encryption functions (the authentication function 620, the encryption function 621, the electronic signature function 622, the personal information changing function 623, the key generation function 624, the public key reading function 625, the electronic certificate writing function 626, the electronic certificate reading function 627, and the like illustrated in FIG. 6) may be provided by allowing the processor 1601 of the secure element 1600 to execute the program 615.

In the above-described configuration, since it is not necessary to carry a device (such as a token of the related art) other than the user device and the online service can be used with the single user device, thereby realizing high convenience. Since automatic login can be executed through only activation of the app and the personal authentication, smart and simple operability can be realized. Further, since the private key stored in the secure element 1600 and the encryption function provided by the secure element 1600 are used, secure data communication can be realized. A private key has a small leakage risk and a private key or an encryption function cannot be used when personal authentication by a PIN code, a password, or biometric authentication is not clear. Therefore, a risk of illegal use by a third party can be as small as possible.

<SIM Card>

Some or all of the encryption functions may be provided by a SIM card embedded in or connected to the user device 30. FIG. 18 is a block diagram schematically illustrating a hardware configuration of the user device 30 including a SIM card 1700.

The SIM card 1700 includes a processor 1701, a RAM 1702, a nonvolatile memory 1703, and eight pins 1705 (electrodes). The nonvolatile memory 1703 stores data such as a unique serial number (ICCID) of the SIM card 1700 and subscriber identification information (IMSI), data used for the encryption function, and a program executed by the processor 1701. The eight pins 1705 includes a power input terminal, a reset terminal, a clock terminal, an earthing terminal, a program voltage input terminal, and I/O terminal, a reserve terminal.

FIG. 18 schematically illustrates a state in which the SIM card 1700 is inserted into a SIM card slot 1704. The pins 1705 of the SIM card 1700 are connected to terminals 1706 of the control substrate 309 of the user device 30.

When a user subscribes a mobile communication service provided by a mobile network operator (MNO) or a mobile virtual network operator (MVNO), the SIM card 1700 is provided from the service provider. The data or the program stored on the SIM card 1700 differ for each service provider, but a basic structure of the SIM card 1700 is identical as long as the SIM card 1700 conforms to an international standard. A standard SIM, a micro-SIM, or a nano-SIM can also be used as the SIM card 1700.

When the encryption functions are provided by the SIM card 1700, data used for the encryption functions (the personal information 610, the private key 611, the public key 612, the electronic certificate 613, the hash function 614, and the program 615, and the like illustrated in FIG. 6) may be stored in the nonvolatile memory 1703 in the SIM card 1700. The encryption functions (the authentication function 620, the encryption function 621, the electronic signature function 622, the personal information changing function 623, the key generation function 624, the public key reading function 625, the electronic certificate writing function 626, the electronic certificate reading function 627, and the like illustrated in FIG. 6) may be provided by allowing the processor 1601 of the SIM card 1700 to execute the program 615.

In the above-described configuration, since it is not necessary to carry a device (such as a token of the related art) other than the user device and the online service can be used with the single user device, thereby realizing high convenience. Since automatic login can be executed through only activation of the app and the personal authentication, smart and simple operability can be realized. Further, since the private key stored in the SIM card 1700 and the encryption function provided by the SIM card 1700 are used, secure data communication can be realized. A private key has a small leakage risk and a private key or an encryption function cannot be used when personal authentication by a PIN code, a password, or biometric authentication is not clear. Therefore, a risk of illegal use by a third party can be as small as possible.

<Post-Installation of Electronic Certificate>

Post-installation of the electronic certificate will be described with reference to FIG. 19. While the IC card on which the electronic certificate is installed is delivered to the user in the service counter in the procedure illustrated in FIG. 8, the electronic certificate can be written on the IC card or the IC chip embedded in or connected to the user device later differently in an order (post-installation) illustrated in FIG. 19.

The applicant (the user) of the IC card first makes a use application of the IC card in the service counter (step S1800). In use application, personal confirmation information and a telephone number of the user are input to a procedure terminal and a personal confirmation document (a driver's license, a resident card, or the like) is presented. The personal confirmation information may include, for example, a name, a sex, the date of birth, and an address. The telephone number is a telephone number assigned to the communication SIM card inserted into the user device 30. The user inputs the personal confirmation information and the telephone number to the procedure terminal (step S1801). The personal confirmation document may become electronic data (for example, image data) obtained with a camera or a scanner included in the procedure terminal. The procedure terminal transmits the personal confirmation information, the personal confirmation document, and the telephone number to the communication service manager (step S1802). Here, the procedure in which the user operates the procedure terminal to input necessary information is assumed. However, as in the case of FIG. 8, the staff may input the necessary information as a proxy of the user.

On the other hand, the user installs a predetermined program for installing and activating the encryption function (referred to as a “setup program”) on the user device 30 (the body app 60 illustrated in FIG. 6 may also serve as the setup program). The processor of the user device 30 reads the telephone number and the IMSI from the communication SIM card in accordance with the setup program (step S1803) and transmits the telephone number and the IMSI of the SIM card to the communication service manager (step S1804).

Thereafter, the user receives the IC card and inserts the IC card into the user device 30. In the memory of the IC card at this stage, only “the hash function and the program” are stored among the information illustrated in FIG. 6 and “the private key, the public key, and the electronic certificate” which are the information associated with the user” have not been stored.

The communication service manager takes correspondence between the information received from the user device 30 and the information received from the procedure terminal using the telephone number as a key and stores the personal confirmation information, the personal confirmation document, and the telephone number and the IMSI of the SIM card in association. Then, the communication service manager executes personal confirmation by collating the personal confirmation information with the personal confirmation document and checking whether there is disagreement between the information (step S1806). After the personal confirmation completion, the communication service manager transmits a certificate issuing request and the telephone number and/or the IMSI of the communication SIM card received from the user device 30 to the certificate authority (step S1807). In this example, the user device 30 indirectly notifies the certificate authority of the telephone number and/or the IMSI via the communication service manager, but the user device 30 may directly notify the certificate authority of the telephone number and/or the IMSI. In this example, the electronic data of the personal confirmation document is transmitted to the communication service manager via a network. However, when the original document confirmation of the personal confirmation document is necessary, the original document of the personal confirmation document may be presented or posted from the service counter or the user to the communication service manager. In this case, after the communication service manager receives the original document of the personal confirmation document, the personal confirmation process of step S1806 starts.

The certificate authority receiving the certificate issuing request creates a user identification code and transmits the user identification code to a transmission destination identified with the IMSI or the telephone number (step S1808). As a transmitter for the user identification code, for example, a short message service (SMS) can be used. The setup program of the user device 30 instructs the key generation function 624 of the IC card to create the pair of keys so that private key and the public key are created (step S1809). The order of the transmission of the user identification code (step S1808) and the generation of the pair of keys (step S1809) may be random.

Thereafter, the setup program of the user device 30 reads the public key from the memory of the IC card using the public key reading function 625 of the IC card, creates a CSR (Certificate Signing Request) of the electronic certificate from the public key and the user identification code, and transmits the CSR to the predetermined certificate authority (step S1810).

The certificate authority issues the electronic certificate of the public key of the user in accordance with the received CSR and transmits the electronic certificate to the user device 30 via the wired Internet or the wireless Internet (step S1811). At this time, the electronic certificate may be transmitted using HTTP (Hypertext Transfer Protocol) or HTTPS (Hypertext Transfer Protocol Secure) as a protocol. A process of receiving the electronic certificate from the certificate authority is also executed in accordance with the setup program of the user device 30.

The electronic certificate is used to electronically prove that the user is himself or herself. In the embodiment, a public key certificate in which the public key and identification information of the owner are bound is used as the electronic certificate. In the case of X.509 designed by ITU-T, the electronic certificate is data that includes the public key, owner information (which corresponds to personal confirmation information), an electronic signature of the certificate authority, a validated date of the electronic certificate, and information of an issuer. The electronic signature of the certificate authority is an electronic signature obtained by encrypting a hash value created from the owner information with the public key included in the electronic certificate and the private key of the certificate authority.

A timing at which the certificate authority transmits the electronic certificate to the user device 30 or a timing at which the user device 30 receives the electronic certificate from the certificate authority can be controlled to any timing. For example, the setup program of the user device 30 may communicate with the certificate authority periodically in the background, check whether to complete the issuing of the electronic certificate, and download the electronic certificate in a preparation stage. Alternatively, when the certificate authority receives the CSR, the certificate authority may notify the user device 30 of an issue-scheduled date of the electronic certificate (a date at which the electronic certificate can be downloaded). In this case, the setup program of the user device 30 may acquire access the certificate authority and acquire the electronic certificate after the notified issue-scheduled date passes. Alternatively, the certificate authority notifies the setup program of the user device 30 that the issuing of the electronic certificate is completed by using the mechanism of an SMS, a push notification, or the like and may transmit the electronic certificates to the setup program which has respond. In this way, by allowing the request for issuing the electronic certificate and the transmission of the electronic certificate to the user device to be executed at different timings, an operation can be executed without being limited to a time or a place, for example, in such a way that work until personal confirmation is executed in a service counter of a store and a flow after the issuing of the electronic certificate is executed at a period of time desired by the user. Accordingly, it is possible to achieve an improvement in the installation of the encryption function and convenience of the activation. In the case of any method, the setup program of the user device 30 may prove that a terminal is the terminal of the applicant (a valid terminal) to the certificate authority by notifying the certificate authority of the telephone number and/or the IMSI of the communication SIM card together with the user identification code. Thus, even when the request for issuing the electronic certificate and the transmission of the electronic certificate to the user device are executed at different timings, it is possible to prevent the electronic certificate from being erroneously transmitted to a terminal of another person. Since it is possible to prevent the electronic certificate from being acquired illegally by a malicious person, the issuing and the transmission of the electronic certificate can be safely executed.

The setup program of the user device 30 writes the electronic certificate on the memory of the IC card using the electronic certificate writing function 626 of the IC card (step S1812). In this stage, on the memory of the IC card, the personal information, the private key, the public key, and the electronic certificate which are data necessary for security processing are arranged. At this time, the electronic certificate may be stored in the SIM card or the secure element inserted into the user device 30.

The setup program of the user device 30 reads a “serial number” and a “manufacturing number” from the IC card and reads a “telephone number” and an “IMSI” from the communication SIM card. The setup program acquires an IMEI (International Mobile Equipment Identity) as information regarding the user device. The setup program transmits a request for registering the IC card to the management server of the communication service manager together with the information. When the management server receives the request for registering the IC card from the user device 30, the management server registers information regarding the IC card, the SIM card, and the user device included in the request in an IC card management database (step S1814).

When the registration of the IC card management information is completed, the management server notifies the user device 30 of registration completion. Thus, the setup of the user device 30 is completed and the IC card enters a usable state (an activation state).

The issuing procedure illustrated in FIG. 19 is merely an example and the issuing procedure may be executed in a different procedure. For example, the user identification code may be transmitted to the user device through data communication executed via the Internet instead of an SMS. At this time, an IP address of the user device may be identified using the IMSI of the communication SIM card. When biometric authentication is used rather than the PIN code authentication, biometric information (a facial image, a voiceprint, an iris, a fingerprint, or the like) registered as the personal information on the IC card may be input using the procedure terminal or the like.

<Identification of IC Chip>

FIG. 20 is a diagram illustrating an example of a mechanism that identifies an IC chip used in the user device when communication is executed between the user device and the intermediate server. In the example of FIG. 20, it is assumed that the user device 30 includes two IC chips 190 and 191, the IC chip 190 is used to communicate with a server A192, and the IC chip 191 is used to communicate with a server B193. As the IC chips 190 and 191, any type of IC chip may be used in addition to the sub-SIM type of IC card, the communication SIM card, and the secure element described above.

A unique ID is assigned to each of the IC chips 190 and 191. The ID is identification information with which the IC chip can be uniquely identified and is stored in a memory embedded in the IC chip. In the example of FIG. 20, the ID of the IC chip 190 is “aaa1” and the ID of the IC chip 191 is “bbb2”. Any information may be used as the ID as long as the ID does not overlap the ID of another IC chip. For example, an IMSI (International Mobile Subscriber Identity), an ICCID (Integrated Circuit Card ID), a telephone number, a serial number, a manufacturing number, or the like can be used as the ID. An IP address associated with the IMSI or the like may be used as the ID.

The body app 60 of the user device 30 adds the ID “aaa1” of the IC chip 190 as information regarding a transmission source to the header or the like of data (a communication packet) 194 to be transmitted to the server A192. Thus, the server A192 can identify the IC chip 190 used in the user device 30. The server A192 also adds the ID “aaa1” of the IC chip 190 as information regarding a transmission destination to the header of data (a communication packet) 194 to be transmitted to the user device 30. The body app 60 can identify the IC chip 190 in charge of processing the data received from the server A192 using the ID.

The body app 60 of the user device 30 adds the ID “bbb2” of the IC chip 191 as information regarding a transmission source to the header or the like of data (a communication packet) 195 to be transmitted to the server B193. Thus, the server B193 can identify the IC chip 191 used in the user device 30. The server B193 also adds the ID “bbb2” of the IC chip 191 as information regarding a transmission destination to the header of data (a communication packet) 195 to be transmitted to the user device 30. The body app 60 can identify the IC chip 190 in charge of processing the data received from the server A192 using the ID.

In the above-described configuration, since the data for identifying the IC chip which is a transmission source or a transmission destination is transmitted and received between the user device 30 and each server, it is possible to further improve communication safety. As illustrated in FIG. 20, when the number of pairs of combinations of the IC chips and the servers is plural, the body app 60 can select (switch) the IC chips 190 and 191 used to process the pieces of data 194 195 based on the ID information included in the headers of the pieces of data 194 and 195. This advantage is particularly considerable, for example, when the user device 30 includes the plurality of IC chips or the user device 30 executes secure communication with the plurality of servers.

In the example of FIG. 20, the correspondence between the IC chip and the server is achieved by adding the identification information of the IC chip to the data transmitted and received between the user device 30 and each server, but similar correspondence may be realized in accordance with another method. For example, as illustrated in FIG. 21, the body app 60 may have correspondence information 196 for correspondence between the IC chip and the server (hereinafter referred to as a “correspondence table 196”). In the correspondence table 196, for example, the identification information of an IC chip may correspond to the identification information of the server executing communication using the encryption function of the IC chip. As the identification information of the IC chip, for example, an IMSI (International Mobile Subscriber Identity), an ICCID (Integrated Circuit Card ID), a telephone number, a serial number, a manufacturing number, an IP address associated with the IMSI or the like can be used. As the identification information of the server, for example, an IP address, a URL, or the like of the server may be used. In the case of the method illustrated in FIG. 21, the body app 60 can identify the IC chip used for communication with the server based on the correspondence table 196 when communication with the server is executed. Accordingly, similar advantageous effects to those of the method in FIG. 20 can be obtained.

<Security of Communication Between Servers>

In the above-described embodiment, communication between three parties of the user device 30, the intermediate server 21, and the service providing server 20 is protected by a public key encryption scheme using an IC chip. This scheme is a preferred form in that advanced security can be guaranteed, but it is not essential to execute all the communication between three parties in conformity with this scheme. For example, since a risk of a cyberattack such as interception or impersonation is relatively high in communication between the user device 30 and the intermediate server 21, advanced security is preferable. On the other hand, a risk of a cyberattack is relatively low in communication between the intermediate server 21 and the service providing server 20. Accordingly, for example, protection is applied using an IC chip in communication between the user device 30 and the intermediate sever 21 and security may be guaranteed in conformity with another scheme in communication between the intermediate server 21 and the service providing server 20. As the other scheme, for example, there is a scheme of using an ID and a password, a scheme of using an access token, a scheme of executing different encryption communication from an IC chip, or a scheme of connecting servers via a dedicated line. Hereinafter, an example of each scheme will be described.

(1) Scheme of Using ID and Password

(First Registration)

A first registration procedure in the intermediate service will be described with reference to FIG. 22. FIG. 22 is a diagram illustrating a flow of a procedure of registration in the intermediate service. In this stage, it is assumed that user registration in the intermediate service provided by the intermediate server 21 and user registration in the online service provided by the service providing server 20 have already been completed, and an ID and a password for logging in to the service provided by the intermediate server 21 (hereinafter referred to as “user ID1” and “password 1” for convenience) and an ID and a password for logging in to the service provided by the service providing server 20 (hereinafter referred to as “user ID2” and “password 2” for convenience) are assigned to the user.

First, the user operates the user device 30 to download and install the body app 60 (step S2100). Then, the user activates the body app 60 to open a login screen of the intermediate server 21 (step S2101). At the time of first login, the user inputs the user ID1 and the password 1 for the intermediate server 21 on the login screen and the user device 30 transmits a login request to the intermediate server 21 together with the user ID1 and the password 1 (step S2102). At this time, the body app 60 stores the user ID 1 for the intermediate server 21 in a nonvolatile memory (step S2103). The password 1 may not be stored on the user device 30 from the viewpoint of security. The user ID 1 and the password 1 for the intermediate server 21 are information assigned by the intermediate service provider when a new use application of the intermediate service which is a separate procedure is made.

When the intermediate server 21 verifies the user ID1 and the password 1 and the login is completed (step S2104), the intermediate server 21 transmits a predetermined telegram (which may have any content) to the user device 30 to make a request for an electronic signature and an electronic certificate (step S2105).

The user authentication unit 601 of the body app 60 displays a PIN code input screen. When the user inputs a PIN code, the user authentication unit 601 checks whether the input PIN code is correct using the authentication function 620 of the IC chip (step S2106). When the PIN code is correct (that is, the user authentication is successful), other functions of the IC chip can be used from the body app 60. The security processing unit 602 of the body app 60 executes an electronic signature in the telegram received from the intermediate server 21 using the electronic signature function 622 of the IC chip and reads the electronic certificate from the memory using the electronic certificate reading function 627. Then, the main processing unit 600 of the body app 60 transmits the telegram with the electronic signature and the electronic certificate to the intermediate server 21 (step S2107).

The intermediate server 21 verifies the telegram with the electronic signature using the electronic certificate received from the user device 30 (step S2108). When the verification is successful, the intermediate server 21 registers the password and the user ID1 of the user for the intermediate server 21 in the user information storage unit 211 in association with the electronic certificate (step S2109). Then, the intermediate server 21 notifies the body app 60 that the registration of the electronic certificate is completed (step S2110). When the registration in the intermediate server 21 is completed, a menu screen is displayed on the user device 30 (step S2111).

(Login to Intermediate Service)

Login authentication of the intermediate service will be described with reference to FIG. 23. FIG. 23 is a diagram illustrating a flow of the login authentication of the intermediate service.

When the user activates the body app 60 in the user device 30, the user authentication unit 601 displays a PIN code input screen (step S2200). When the user inputs a PIN code, the user authentication unit 601 checks whether the input PIN code is correct using the authentication function 620 of the IC chip (step S2201). When the PIN code is correct (that is, the user authentication is successful), the security processing unit 602 of the body app 60 executes the electronic signature in the authentication telegram and the user ID1 for the intermediate server 21 using the electronic signature function 622 of the IC chip (step S2202). Then, the main processing unit 600 of the body app 60 transmits the login request to the intermediate server 21 (step S2203). The user ID 1 in the intermediate server 21, the user ID2 and the password 2 for the service providing server 20, the authentication telegram, and the electronic signature are added to the login request.

When the login request is received, the login control unit 212 of the intermediate server 21 reads the corresponding electronic certificate from the user information storage unit 211 based on the user ID1 for the intermediate server 21 included in the login request and verifies the electronic signature included in the login request using the electronic certificate (step S2204). The login control unit 212 may inquire of the certificate authority about validity of the electronic certificate as necessary (steps S2205 and S2206). When the electronic signature is verified successfully and the validity of the electronic certificate is confirmed, the login control unit 212 determines that the login request is a request from the valid user and registers the user ID2 and the password 2 for the service providing server 20 in the user information storage unit 211 in association with the user ID1 for the intermediate server 21 of the user (step S2207).

Subsequently, the login control unit 212 of the intermediate server 21 transmits the access request to the service providing server 20 (step S2208). The user ID2 and the password 2 for the service providing server 20 are added to the access request.

When the access request is received, the access control unit 202 of the service providing server 20 verifies the user ID2 and the password 2 of the service providing server 20 (step S2209). When the user ID2 and the password 2 are verified successfully, the access control unit 202 determines that the access request is a request from the intermediate server 21 to which a proxy authority is given from the user, and gives access permission to the intermediate server 21 (step S2210).

When the access permission of the online service is obtained, the intermediate server 21 notifies the body app 60 of login authentication OK (step S2211). Thereafter, a menu screen of the intermediate service is displayed on the user device 30 and a procedure desired by the user can be executed (step S2212).

According to the above-described process, it is possible to use the intermediate service and the online service through a very simple operation, compared to a method of using a physical token.

(Use of Online Service)

A procedure at the time of use of the intermediate service will be described with reference to FIG. 24. FIG. 24 is a diagram illustrating a flow at the time of use of the intermediate service. It is assumed that the login to the intermediate service has already been completed and a menu screen is displayed on the user device 30.

When the user selects the procedure which the user desires to use on the menu screen, the screen transitions to a detail screen (step S2300). When the user inputs necessary information (for example, a transfer destination, a transfer amount, and the like) on the detail screen and presses an execution button (step S2301), the main processing unit 600 of the body app 60 creates a procedure message describing information necessary for a transfer procedure (step S2302).

Subsequently, the user authentication unit 601 of the body app 60 displays a PIN code input screen and executes PIN code authentication (step S2303). Since an order of the PIN code authentication is similar to the above-described order, description thereof will be omitted. When the PIN code authentication is successful, the security processing unit 602 of the body app 60 executes the electronic signature in a procedure message using the electronic signature function 622 of the IC chip (step S2304). At this time, the electronic signature function 622 may create the electronic signature by calculating a hash value of the procedure message and encrypting the hash value with the private key or may create the electronic signature by encrypting the procedure message with the private key. Then, the main processing unit 600 of the body app 60 transmits a procedure request to the intermediate server 21 (step S2305). The user ID1 for the intermediate server 21, the procedure message, and the electronic signature are added to the procedure request.

When the procedure request is received, the proxy control unit 213 of the intermediate server 21 reads the corresponding electronic certificate from the user information storage unit 211 based on the user ID1 for the intermediate server included in the procedure request and verifies the electronic signature included in the procedure request using the electronic certificate (step S2306). The proxy control unit 213 may inquire of the certificate authority about validity of the electronic certificate as necessary (steps S2307 and S2308). When the electronic signature is verified successfully and the validity of the electronic certificate is confirmed, the proxy control unit 213 determines that the procedure request is a request from the valid user. That is, it is determined that there is no impersonation by a third party and the content of the procedure message is not altered.

When it can be confirmed that the procedure request is the request from the valid user, the proxy control unit 213 reads the user ID2 and the password 2 of the user for the service providing server 20 and transmits the procedure request to the service providing server 20 (step S2309). The procedure message and the electronic signature received from the user device 30 are added to the procedure request.

When the procedure request is received, the procedure control unit 203 of the service providing server 20 verifies the user ID2 and the password 2 (step S2310). When the user ID2 and the password 2 are verified successfully, the procedure control unit 203 determines that the procedure request is a request from the valid user. That is, it is determined that there is no impersonation by a third party and the content of the procedure message is not altered.

The procedure control unit 203 executes a procedure (transfer or the like) based on information described in the procedure message only when it can be confirmed that the procedure request is the request from the valid user (step S2311). When the procedure is completed, the procedure control unit 203 transmits a procedure completion notification to the intermediate server 21 and the intermediate server 21 transmits the procedure completion notification to the body app 60 (steps S2312 and S2313). Then, a procedure completion screen is displayed.

According to the above-described process, it is possible to use the intermediate service and the online service through a very simple operation, compared to a method of using a physical token.

(2) Scheme of Using Access Token

Next, an example of a scheme of granting access authority from the intermediate server 21 to the service providing server 20 using an access token will be described.

(First Registration)

A first registration procedure in the intermediate service will be described with reference to FIGS. 25 and 26. Since a procedure of registering the electronic certificate of the user in the intermediate server 21 (steps S2400 to S2410) is similar to the procedure described in FIG. 22 (steps S2100 to S2110), description thereof will be omitted. After the registration of the electronic certificate is completed, issuance of a permission code to issue the access token and issuance of the access token are executed. The access token is a permit when the online service is used by the intermediate server 21 instead of the user. In the embodiment, proxy execution of the online service by the intermediate server 21 is realized using the mechanism of OAuth 2.0.

First, to issue a permission code, after the registration completion notification is received, the user device 30 transmits the user ID1 for the intermediate server 21, the user ID2 for the service providing server 20, the password 2, the telegram with the electronic signature and the electronic certificate to the intermediate server 21 (step S2411). The intermediate server 21 verifies the telegram with the electronic signature using the electronic certificate received from the user device 30 (step S2412). When the verification is successful, the user registration unit 200 of the intermediate server 21 registers the user ID2 for the service providing server 20 and the user ID1 for the intermediate server 21 in the user information storage unit 211 in association (step S2413). Thereafter, the intermediate server 21 transmits a request for issuing the permission code to the service providing server 20 together with the user ID2 and the password 2 for the service providing server 20 received from the user device 30 (step S2414). The service providing server 20 verifies the user ID2 and the password 2 received from the intermediate server 21. When the verification is successful, the service providing server 20 issues the permission code for issuing the access token in association with the received user ID2 (step S2415). The service providing server 20 transmits the authentication result together with the user ID2 and the permission code to the intermediate server 21 (step S2416). The intermediate server 21 converts the received user ID2 for the service providing server 20 into the user ID1 for the intermediate server 21 and transmits the permission code and the authentication result to the user device 30 (step S2417). The user device 30 transmits a request for issuing the access token to the intermediate server 21 together with the permission code and the user ID1 for the intermediate server 21 (step S2418). The intermediate server 21 converts the received user ID1 for the intermediate server 21 into the user ID2 for the service providing server 20 and transmits the user ID2, the permission code, and the request for issuing the access token to the service providing server 20 (step S2419). The service providing server 20 issues the access token to the pair of the user and the intermediate service (step S2420). The user registration unit 200 registers the issued access token and the user ID2 for the service providing server 20 in the user information storage unit 201 in association.

Then, the service providing server 20 transmits the user ID2 for the service providing server 20 and the issued access token to the intermediate server 21 (step S2421). The intermediate server 21 registers the received access token and user ID1 of the user for the intermediate server 21 in the user information storage unit 211 in association (step S2422). Although not illustrated, the intermediate server 21 also receives a refresh token together with the access token from the service providing server 20. The refresh token is a token used to re-issue the access token. Since this is the specification of OAuth 2.0, the detailed description thereof will be omitted herein.

Thereafter, the intermediate server 21 notifies the body app 60 that the issuance of the access token is completed and a menu screen is displayed on the user device 30 (steps S2423 and S2424).

(Login to Intermediate Service)

The access token for the login to the intermediate service is verified. FIG. 27 is a diagram illustrating a flow of a login process in the intermediate service. The processes of steps S2600 to S2606 of FIG. 27 are almost the same as the processes of steps S2200 to S2206 of FIG. 23. Here, this example differs from the process of FIG. 23 in that information added to a login request is the user ID1 for the intermediate server 21, the authentication telegram, and the electronic signature.

The intermediate server 21 confirms the validity of the electronic signature and the validity of the electronic certificate and subsequently transmits the access request to the service providing server 20 (step S2607). At this time, the intermediate server 21 reads the user ID2 for the service providing server 20 and the access token of the online service from the user information storage unit 211 based on the user ID1 for the intermediate server 21 included in the login request and transmits the user ID2 and the access token.

When the access request is received, the access control unit 202 of the service providing server 20 verifies the access token and the user ID2 for the service providing server 20 included in the access request (step S2608). When the verification is successful, the access control unit 202 determines that the access request is a request from the intermediate server 21 to which proxy authority is given by the user, and gives access permission to the intermediate server 21 (step S2609).

When the access permission of the online service is obtained, the intermediate server 21 notifies the body app 60 of login authentication OK (step S2610). Thereafter, a menu screen of the intermediate service is displayed on the user device 30 and a procedure desired by the user can be executed (step S2611).

According to the above-described process, it is possible to use the intermediate service and the online service through a very simple operation, compared to a method of using a physical token.

(Use of Online Service)

In the online service, the access token is verified. FIG. 28 is a diagram illustrating a flow of a process for the online service. The processes of steps S2700 to S2708 of FIG. 28 are almost the same as the processes of steps S2300 to S2308 of FIG. 24.

When it can be confirmed in the electronic certificate that the procedure request is a request from the valid user, the proxy control unit 213 of the intermediate server 21 transmits the procedure request to the service providing server 20 (step S2709). At this time, the proxy control unit 213 reads the corresponding user ID2 for the service providing server 20 and the access token of the online service from the user information storage unit 211 based on the user ID1 received from the user device 30 and transmits the procedure request to the service providing server 20 (step S2709). The access token, and the procedure message and the electronic signature received from the user device 30 are added to the procedure request.

When the procedure request is received, the procedure control unit 203 of the service providing server 20 verifies the access token and the user ID2 for the service providing server 20 included in the procedure request (step S2710). When the verification is successful, the procedure control unit 203 determines that the procedure request is a request from the valid user.

The procedure control unit 203 executes a procedure (transfer or the like) based on information described in the procedure message only when it can be confirmed that the procedure request is the request from the valid user (step S2711). When the procedure is completed, the procedure control unit 203 transmits a procedure completion notification to the intermediate server 21 (step S2712) and the intermediate server 21 transmits the procedure completion notification to the body app 60 (step S2713). A procedure completion screen is displayed on the user device 30 receiving the procedure completion notification.

According to the above-described process, it is possible to use the intermediate service and the online service through a very simple operation, compared to a method of using a physical token.

(3) Scheme of Executing Different Encryption Communication from IC Chip

The communication between the intermediate server 21 and the service providing server 20 may be encrypted in conformity with a different scheme from the encryption communication by the IC chip. For example, the communication between the intermediate server 21 and the service providing server 20 may be encrypted with a common key by sharing the common key between the intermediate server 21 and the service providing server 20. Alternatively, the communication between the intermediate server 21 and the service providing server 20 may be encrypted in conformity with a public key encryption scheme. Encryption communication such as SSL/TLS or IPsec may be used.

Even in the case of the scheme in the encryption communication, when the user merely inputs a PIN code, the user can use the intermediate service and the online service through a very simple operation compared to a method of the related art. The encryption communication in (3) may be combined with the scheme of using the user ID and the password in (1) or the scheme of using the access token in (2).

(4) Scheme of Connecting Servers Via Dedicated Line

Secure communication between the intermediate server 21 and the service providing server 20 can also be realized using a mechanism of a dedicated line. The dedicated line is a communication line which can be used exclusively. Between the intermediate server 21 and the service providing server 20, a physical dedicated line may be provided or a virtual dedicated line (VPN) may be used.

Even in the case of the scheme of using a dedicated line, when the user merely inputs a PIN code, the user can use the intermediate service and the online service through a very simple operation compared to a method of the related art. The dedicated line in (4) may be combined with the scheme of using the user ID and the password in (1), the scheme of using the access token in (2), or the scheme of executing the encryption communication in (3).

(Multiple Connections of Servers)

In the above-described embodiments, the communication between three parties of the user device 30, the intermediate server 21, and the service providing server 20 has been described. The present invention can also be applied to a configuration in which the intermediate server 21 and/or the service providing server 20 are multi-connected.

FIG. 29A is a diagram illustrating a configuration in which two or more intermediate servers 21A and 21B are connected dependently (in series) between the user device 30 and the service providing server 20. For example, the first intermediate server 21A is a server of a company that provides a value-added service such as a domestic account book or asset management in cooperation with a bank service (referred to as a fintech company) and the second intermediate server 21B is a server that executes verification by an electronic certificate, management of users, and the like by proxy between the fintech company and a bank. The service providing server 20 is a bank system that provides an online banking service. Introduction or administration of the service providing server 20 is expected to be easy by separating some or all of the processes for verification by an electronic certificate, management of users, and the like from the service providing server 20 and executing proxy execution by the separate intermediate server 21B. This form is advantageous, for example, when one intermediate server 21B manages users or electronic certificates of the service providing servers 20 of a plurality of banks intensively by proxy. The configuration of FIG. 29A can also be applied when the intermediate server 21A of the fintech company uses a service of the intermediate server 21B of another fintech company. For example, it is assumed that an integrated fintech service of services provided by individual fintech companies is provided.

FIG. 29B illustrates a configuration in which two or more service providing servers 20A and 20B are connected in series. This configuration can be applied, for example, when remittance is executed from a certain bank to another bank or when a server of a bank and a server of stock cooperate.

FIG. 29C illustrates an example of a configuration in which two or more intermediate servers 21A and 21B and two or more service providing servers 20A and 20B are connected in series. Any number of connections of the intermediate servers 21 and the service providing servers 20 can be set. Hereinafter, an operation in a case in which the number of intermediate servers is 2 and the number of service providing servers is 1 will be described.

(First Registration)

A first registration procedure in an intermediate service will be described with reference to FIG. 30. FIG. 30 is a diagram illustrating a flow of a registration procedure in the intermediate service. In this stage, it is assumed that user registration in the intermediate service provided by the intermediate server A(21A) and user registration in the online service provided by the service providing server 20 have already been completed, and an ID and a password for logging in to the service provided by the intermediate server A (hereinafter referred to as “user ID1” and “password 1” for convenience) and an ID and a password for logging in to the service provided by the service providing server 20 (hereinafter referred to as “user ID2” and “password 2” for convenience) are assigned to the user. In this example, the intermediate server A (21A) and the intermediate server B (21B) cooperate to provide an intermediate service to the users and the users are not aware of multi-connection of the intermediate servers.

First, the user operates the user device 30 to download and install the body app 60 (step S2900). Then, the user activates the body app 60 to open a login screen of the intermediate server A (step S2901). At the time of first login, the user inputs the user ID1 and the password 1 for the intermediate server A on a login screen and the user device 30 transmits a login request to the intermediate server A together with the user ID1 and the password 1. At this time, the body app stores the user ID 1 for the intermediate server A in a nonvolatile memory (step S2903). The password 1 may not be stored on the user device 30 from the viewpoint of security. The user ID 1 and the password 1 for the intermediate server A are information assigned by the intermediate service provider when a new use application of the intermediate service which is a separate procedure is made.

When the intermediate server A verifies the user ID1 and the password 1 and the login to the intermediate server A is completed (step S2904), the intermediate server A transmits the user ID1 and the password 1 received from the user device 30 to the intermediate server B (step S2905). Similarly, when the intermediate server B verifies the user ID1 and the password 1 and the login to the intermediate server B is completed (step S2906), the intermediate server B transmits a predetermined telegram (which may have any content) to the intermediate server A to make a request for an electronic signature and an electronic certificate (step S2907). The intermediate server A transmits the predetermined telegram received from the intermediate server B to the user device 30 (step S2908).

The user authentication unit 601 of the body app 60 displays a PIN code input screen. When the user inputs a PIN code, the user authentication unit 601 checks whether the input PIN code is correct using the authentication function 620 of the IC chip (step S2909). When the PIN code is correct (that is, the user authentication is successful), other functions of the IC chip can be used from the body app 60. The security processing unit 602 of the body app 60 executes an electronic signature on the telegram received from the intermediate server A using the electronic signature function 622 of the IC chip and reads the electronic certificate from the memory using the electronic certificate reading function 627. Then, the main processing unit 600 of the body app 60 transmits the telegram with the electronic signature and the electronic certificate to the intermediate server A (step S2910).

The intermediate server A transmits the electronic certificate and the telegram with the electronic signature received from the user device 30 to the intermediate server B (step S2911) and verifies the telegram with the electronic signature using the electronic certificate (step S2912). When the verification is successful, the intermediate server A registers the electronic certificate and the user ID1 of the user in association with the electronic certificate in the user information storage unit (step S2913).

Similarly, the intermediate server B also verifies the telegram with the electronic signature using the electronic certificate (step S2914). When the verification is successful, the intermediate server B registers the electronic certificate and the user ID1 of the user in the user information storage unit in association with the electronic certificate (step S2916). Then, the intermediate server B notifies the intermediate server A that the registration of the electronic certificate is completed (step S2916). Accordingly, the intermediate server A notifies the body app 60 that the registration of the electronic certificate is completed (step S2917). When the registration in the intermediate service is completed, a menu screen is displayed on the user device 30.

(Login in Intermediate Service)

Login authentication of the intermediate service will be described with reference to FIGS. 31 and 32. FIGS. 31 and 31 are diagrams illustrating a flow of the login authentication of the intermediate service.

When the user activates the body app 60 in the user device 30, the user authentication unit 601 displays a PIN code input screen (step S3000). When the user inputs a PIN code, the user authentication unit 601 checks whether the input PIN code is correct using the authentication function 620 of the IC chip (step S3001). When the PIN code is correct (that is, the user authentication is successful), the security processing unit 602 of the body app 60 executes the electronic signature in the authentication telegram and the user ID1 for the intermediate server A using the electronic signature function 622 of the IC chip (step S3002). Then, the main processing unit 600 of the body app 60 transmits the login request to the intermediate server A (step S3003). The user ID 1 in the intermediate server A, the user ID2 and the password 2 for the service providing server 20, the authentication telegram, and the electronic signature are added to the login request.

When the login request is received, the login control unit 212 of the intermediate server A reads the corresponding electronic certificate from the user information storage unit 211 based on the user ID1 for the intermediate server A included in the login request and verifies the electronic certificate included in the login request using the electronic certificate (step S3004). The login control unit 212 may inquire of the certificate authority about validity of the electronic certificate as necessary (steps S3005 and S3006). When the electronic signature is verified successfully and the validity of the electronic certificate is confirmed, the login control unit 212 determines that the login request is a request from the valid user.

Subsequently, the login control unit 212 of the intermediate server A transmits the login request to the intermediate server B (step S3007). The user ID1, the user ID2, the password 2, the authentication telegram, and the electronic signature are added to the login request.

When the login request is received, the login control unit 212 of the intermediate server B reads the corresponding electronic signature from the user information storage unit 211 based on the user ID1 included in the login request and verifies the electronic certificate included in the login request using the electronic certificate (step S3008). The login control unit 212 may inquire of the certificate authority about validity of the electronic certificate as necessary (steps S3009 and S3010). When the electronic signature is verified successfully and the validity of the electronic certificate is confirmed, the login control unit 212 determines that the login request is a request from the valid user and registers the user ID2 and the password 2 for the service providing server 20 in the user information storage unit 211 in association with the user ID1 for the intermediate server A of the user (step S3011).

Subsequently, the login control unit 212 of the intermediate server B transmits the access request to the service providing server 20 (step S3012). The user ID2 and the password 2 for the service providing server 20 are added to the access request.

When the access request is received, the access control unit 202 of the service providing server 20 verifies the user ID2 and the password 2 of the service providing server 20 (step S3013). When the user ID2 and the password 2 for the service providing server 20 are verified successfully, the access control unit 202 determines that the access request is a request from the intermediate server to which a proxy authority is given from the user, and gives an access permission to the intermediate server B (step S3014).

When the access permission of the online service is obtained, the intermediate server B notifies the intermediate server A of the login authentication OK (step S3015) and the intermediate server A further notifies the body app 60 of login authentication OK (step S3016). Thereafter, a menu screen of the intermediate service is displayed on the user device 30 and a procedure desired by the user can be executed (step S3017).

According to the above-described process, it is possible to use the intermediate service and the online service through a very simple operation, compared to a method of using a physical token.

(Use of Online Service)

A procedure at the time of use of the intermediate service will be described with reference to FIGS. 33 and 34. FIGS. 33 and 34 are diagrams illustrating a flow at the time of use of the intermediate service. It is assumed that the login in the intermediate service has already been completed and a menu screen is displayed on the user device.

When the user selects the procedure which the user desires to use on the menu screen, the screen transitions to a detail screen (step S3200). When the user inputs necessary information (for example, a transfer destination, a transfer amount, and the like) on the detail screen and presses an execution button (step S3201), the main processing unit 600 of the body app 60 creates a procedure message describing information necessary for a transfer procedure (step S3202).

Subsequently, the user authentication unit 601 of the body app 60 displays a PIN code input screen and executes PIN code authentication (step S3203). Since an order of the PIN code authentication is similar to the above-described order, the description thereof will be omitted. When the PIN code authentication is successful, the security processing unit 602 of the body app 60 executes the electronic signature in a procedure message using the electronic signature function 622 of the IC chip (step S3204). At this time, the electronic signature function 622 may create the electronic signature by calculating a hash value of the procedure message and encrypting the hash value with the private key or may create the electronic signature by encrypting the procedure message with the private key. Then, the main processing unit 600 of the body app 60 transmits a procedure request to the intermediate server A (step S3205). The user ID1 for the intermediate server A, the procedure message, and the electronic signature are added to the procedure request.

When the procedure request is received, the proxy control unit 213 of the intermediate server A reads the corresponding electronic certificate from the user information storage unit 211 based on the user ID1 for the intermediate server included in the procedure request and verifies the electronic signature included in the procedure request using the electronic certificate (step S3206). The proxy control unit 213 of the intermediate server A may inquire of the certificate authority about validity of the electronic certificate as necessary (steps S3207 and S3208). When the electronic signature is verified successfully and the validity of the electronic certificate is confirmed, the proxy control unit 213 of the intermediate server A determines that the procedure request is a request from the valid user. That is, it is determined that there is no impersonation by a third party and the content of the procedure message is not altered.

When it can be confirmed that the procedure request is the request from the valid user, the proxy control unit 213 of the intermediate server A transmits the procedure request to the intermediate server B (step S3209). The user ID1, the procedure message, and the electronic signature are added to the procedure request.

When the procedure request is received, the proxy control unit 213 of the intermediate server B reads the corresponding electronic certificate from the user information storage unit 211 based on the user ID1 included in the procedure request and verifies the electronic signature included in the procedure request by using the electronic certificate (step S3210). The proxy control unit 213 of the intermediate server B may inquire of the certificate authority about validity of the electronic certificate as necessary (steps S3211 and S3212). When the electronic certificate is verified successfully and the validity of the electronic certificate is confirmed, the proxy control unit 213 of the intermediate server B determines that the procedure request is a request form the valid user. That is, it is determined that there is no impersonation by a third party and the content of the procedure message is not altered.

When it can be confirmed that the procedure request is the request from the valid user, the proxy control unit 213 of the intermediate server B reads the user ID2 and the password 2 for the service providing server 20 and transmits the procedure request to the service providing server 20 (step S3213). The procedure message and the electronic signature received from the user device 30 are added to the procedure request.

When the procedure request is received, the procedure control unit 203 of the service providing server 20 verifies the user ID2 and the password 2 (step S3214). When the user ID2 and the password 2 are verified successfully, the procedure control unit 203 determines that the procedure request is a request form the valid user. That is, it is determined that there is no impersonation by a third party and the content of the procedure message is not altered.

Only when it can be confirmed that the procedure request is the request from the valid user, the procedure control unit 203 executes a procedure (transfer or the like) based on information described in the procedure message (step S3215). When the procedure is completed, the procedure control unit 203 transmits a procedure completion notification to the intermediate server B (step S3216), the intermediate server B transmits the procedure completion notification to the intermediate server A (step S3217), and the intermediate server A transmits the procedure completion notification to the body app 60 (step S3218). Then, a procedure completion screen is displayed.

In each of the above-described embodiments, when the user device 30 executes data communication with each server or the certificate authority via the Internet, the SIM card (that is, the user device 30) serving as a transmission source or a transmission destination of data is identified with an IMSI of the communication SIM included in the user device 30 or an IP address associated with the IMSI. The IP address may be a dynamically assignable IP address or a fixed IP address.

REFERENCE SIGNS LIST

-   20 Service providing server -   21 Intermediate server -   30 User device -   60 Application program -   70 IC card issuing terminal -   306 SIM card -   307 IC card (sub-SIM) -   308 SIM card slot 

1. An online service providing system that provides a mechanism capable of allowing a portable device to safely use an online service provided by a service provider via an intermediate service provided by another party different from the service provider, the online service providing system comprising: a service providing server configured to provide a registered user with the online service through the Internet; an intermediate server configured to provide the user with the intermediate service through the Internet; an IC chip provided in a user device which is the portable device possessed by the user; and an application program that is executed by a body processor included in the user device and causes the user device to function as a terminal for utilizing the intermediate service, wherein the IC chip includes; a memory that non-transitorily stores at least personal information used for user authentication to confirm validity of a party using the user device, a private key of the user, a public key of the user paired with the private key, and an electronic certificate of the user including the public key, and a processor that has at least an authentication function of executing the user authentication by collating information given from the application program with the personal information and an electronic signature function of executing an electronic signature on data given from the application program using the private key; wherein the application program causes the user device to function as; a user authentication unit configured to execute the user authentication using the authentication function of the IC chip based on information acquired from the party using the user device, and a transmission unit configured to create the electronic signature using the electronic signature function of the IC chip in a case where the party using the user device is confirmed to be valid through the user authentication, and transmit a login request including the created electronic signature to the intermediate server through the Internet; wherein the intermediate server includes a user information storage that stores the electronic certificate of the user as information regarding the user, and a control unit configured to check validity of the login request by verifying the electronic signature included in the login request using the electronic certificate of the user in a case where the login request is received from the user device, and permit the user device to use the intermediate service and transmits an access request to the service providing server in a case where the login request is confirmed to be valid; and wherein the service providing server includes an access control unit configured to check the validity of the access request the access request is received from the intermediate server, and permit the intermediate server to use the online service in a case where the access request is confirmed to be valid.
 2. The online service providing system according to claim 1, wherein the control unit of the intermediate server is further configured to transmit the access request to the service providing server together with the electronic signature included in the login request, and wherein the service providing server confirms the validity of the access request by verifying the electronic signature using the electronic certificate of the user, or wherein the control unit of the intermediate server is further configured to transmit the access request to the service providing server together with a user ID and a password of the user, and wherein the service providing server checks the validity of the access request by verifying the user ID and the password of the user, or wherein the control unit of the intermediate server is further configured to transmit the access request to the service providing server together with a user ID of the user and an access token issued in advance by the service providing server; and wherein the service providing server checks the validity of the access request by verifying the access token and the user ID of the user. 3.-4. (canceled)
 5. The online service providing system according to claim 1, wherein the transmission unit is further configured to execute the electronic signature on a message describing information necessary for a procedure of the online service using the electronic signature function of the IC chip in a case where a party using the user device is confirmed to be valid through the user authentication, and transmit a procedure request including the message with the electronic signature to the intermediate server through the Internet; wherein the intermediate server checks validity of the procedure request by verifying the message with the electronic signature included in the procedure request using the electronic certificate of the user in a case where the procedure request is received from the user device, and transmits a procedure execution request including the message included in the procedure request to the service providing server in a case where the procedure request is confirmed to be valid, and wherein the service providing server checks the validity of the procedure execution request in a case where the procedure execution request is received from the intermediate server, and executes a procedure based on information described in the message included in the procedure execution request in a case where the procedure execution request is confirmed to be valid.
 6. The online service providing system according to claim 5, wherein the intermediate server transmits the procedure execution request including the message with the electronic signature to the service providing server, and wherein the service providing server checks the validity of the procedure execution request by verifying the message with the electronic signature included in the procedure execution request using the electronic certificate of the user.
 7. The online service providing system according to claim 6, wherein the transmission unit is further configured to encrypt the message using the public key of the service providing server and subsequently execute the electronic signature on the encrypted message using the electronic signature function of the IC chip.
 8. The online service providing system according to claim 5, wherein the intermediate server transmits the procedure execution request to the service providing server together with the user ID and the password of the user, and wherein the service providing server checks validity of the procedure execution request by verifying the user ID and the password of the user, or wherein the intermediate server transmits the procedure execution request to the service providing server together with the user ID of the user and an access token issued in advance by the service providing server, and wherein the service providing server checks the validity of the procedure execution request by verifying the access token and the user ID of the user.
 9. (canceled)
 10. The online service providing system according to claim 1, wherein communication between the intermediate server and the service providing server is encrypted.
 11. The online service providing system according to claim 1 wherein the intermediate server and the service providing server are connected by a dedicated line.
 12. The online service providing system according to claim 1, wherein the intermediate server is configured by a plurality of multi-connected intermediate servers.
 13. The online service providing system according to claim 1, wherein the IC chip is inserted in a SIM card slot in a state in which the IC chip is stacked with and attached to a communication SIM card.
 14. The online service providing system according to claim 1, wherein the IC chip is a communication SIM card, or wherein the IC chip is a secure element.
 15. (canceled)
 16. The online service providing system according to claim 1, wherein the memory of the IC chip has an area that is inaccessible from the outside, and wherein at least the personal information and the private key are stored in the area that is inaccessible from the outside.
 17. The online service providing system according to claim 1, wherein the processor of the IC chip has a key creation function of creating the private key and the public key.
 18. The online service providing system according to claim 1, wherein the IC chip has identification information for uniquely identifying the IC chip, and wherein the user device and the intermediate server and/or the service providing server execute communication in which the IC chip is identified with the identification information
 19. The online service providing system according to claim 1, wherein the application program has correspondence information for causing the intermediate server and/or the service providing server to correspond to the IC chip and identifies the IC chip used for the communication with the intermediate server and/or the service providing server based on the correspondence information.
 20. The online service providing system according to claim 1, wherein the user device executes communication in which the SIM card is identified by an IMSI of the communication SIM card included in the user device or an IP address associated with the IMSI with the intermediate server and/or the service providing server.
 21. (canceled)
 22. The online service providing system according to claim 1, further comprising a setup program that is executed by the body processor included in the user device and provides a function of setting up the IC chip, wherein the setup program causes the user device to function as: a unit configured to transmit a request for issuing the electronic certificate to a certificate authority, and a unit configured to receive the electronic certificate from the certificate authority and store the electronic certificate in the memory of the IC chip.
 23. The online service providing system according to claim 1, further comprising a setup program that is executed by the body processor included in the user device and provides a function of setting up the IC chip, wherein the setup program causes the user device to function as: a unit configured to read a telephone number and/or the IMSI from the communication SIM card of the user device, a unit configured to notify a certificate authority of the telephone number and/or the IMSI, and a unit configured to receive information transmitted to a destination identified by the telephone number or the IMSI from the certificate authority.
 24. The online service providing system according to claim 23, wherein the information is transmitted to the user device by an SMS, or wherein the information is transmitted to the user device through data communication via the Internet.
 25. (canceled)
 26. A non-transitory computer-readable medium storing an application program that is executed by a body processor included in a user device which is a portable device possessed by a user and causes the user device to function as a terminal for utilizing an online service provided through the Internet by a service providing server via an intermediate service provided by an intermediate server different from the service providing server, wherein the user device is provided with an IC chip including a memory that non-transitorily stores at least personal information used for user authentication to confirm validity of a party using the user device, a private key of the user, a public key of the user paired with the private key, and an electronic certificate of the user including the public key, and a processor that has at least an authentication function of executing the user authentication by comparing information given from the application program with the personal information and an electronic signature function of executing an electronic signature on data given from the application program using the private key, the application program causes the user device to function as: a user authentication unit configured to execute the user authentication using the authentication function of the IC chip based on information acquired from the party using the user device, and a transmission unit configured to create the electronic signature using the electronic signature function of the IC chip in a case where the party using the user device is confirmed to be valid through the user authentication, and transmit a login request including the created electronic signature to the intermediate server through the Internet. 